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
What is caching in asp.net?
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
Explain difference between dataset and datareader?
Explain how viewstate is being formed?
Describe how passport authentication works.
What are the layouts of ASP.NET Pages?
Which type of state management is provided by Query String in ASP.NET?
How does asp.net page work?
Explain about Application and Session Events ?
How many types of controls are there in asp.net?
How can we create pie chart in asp.net?
Why do we use datasource in asp.net?
Will the asp.net validators run in server side or client side?
What does the .webpart file do?
How to Insert/Add in ASPXgridview