Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to add cliet side event to server side?
and
how to register client script to sever side? wt difference
these two

Answer Posted / jagadish

string popupScript = "<script language='javascript'>" +
"window.open'PopUp.aspx', 'CustomPopUp', " +"'width=200,
height=200, menubar=yes, resizable=no')" +"</script>";

Page.RegisterStartupScript("PopupScript", popupScript);

OR

Page.RegisterStartupScript(me.gettype(),"somename","<script
language=javascript>somefunction()</script");

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find out what version of asp.net I am using on my machine?

1081


How to sign out from forms authentication?

1035


What is web router?

901


Is viewstate enabled by default?

949


Define static member?

970


Is asp.net mvc still used? : Asp.Net MVC

960


What is the Difference between MVC And MVP design pattrens

2658


Is it possible to create web application with both webforms and mvc?

964


How do we assign page-specific attributes?

1123


What is application Object?

1016


Where is the view state data stored in asp net?

1001


How to reduce the width of textbox in editcommandcolumn of datagrid?

983


Differentiate between client-side and server-side validations in web pages.

1001


What is viewstate? What does the “enableviewstate” property do?

903


What are ASP.NET Web Forms? How is this technology different than what is available though ASP?

1632