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
Which is faster viewbag or viewdata?
How can I configure asp.net applications that are running on a remote machine?
What is the difference between Hash table and Array list?
How do you declare static variable?
What are custom controls?
How can you ensure a permanent cookie?
What is the difference between application state and caching?
Diff between web user control and web custom control?
Why would a company use an application service provider?
What are the uses of reflection?
What is asynchronous call?
Where is asp.net view state stored?
What is the viewstate in asp.net?
Which adapter should you use, if you want to get the data from an access database?
What are the advantages and limitations of query string?