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

What is caching in asp.net?

962


How ASP and ASP.NET page works? Explain about asp.net page life cycle?

970


Explain difference between dataset and datareader?

981


Explain how viewstate is being formed?

927


Describe how passport authentication works.

1062


What are the layouts of ASP.NET Pages?

1008


Which type of state management is provided by Query String in ASP.NET?

965


How does asp.net page work?

900


Explain about Application and Session Events ?

1006


How many types of controls are there in asp.net?

961


How can we create pie chart in asp.net?

1031


Why do we use datasource in asp.net?

912


Will the asp.net validators run in server side or client side?

1090


What does the .webpart file do?

989


How to Insert/Add in ASPXgridview

979