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
How to find out what version of asp.net I am using on my machine?
How to sign out from forms authentication?
What is web router?
Is viewstate enabled by default?
Define static member?
Is asp.net mvc still used? : Asp.Net MVC
What is the Difference between MVC And MVP design pattrens
Is it possible to create web application with both webforms and mvc?
How do we assign page-specific attributes?
What is application Object?
Where is the view state data stored in asp net?
How to reduce the width of textbox in editcommandcolumn of datagrid?
Differentiate between client-side and server-side validations in web pages.
What is viewstate? What does the “enableviewstate” property do?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?