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
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?
What is the difference between the asp and asp.net?
Distinguish between Server-side and Client-side code with its functionality?
What is marshalling ? Is it a part of asp.net ?
What is difference between Server.Transfer and Response.Redirect in ASP.NET?
Which is faster union or union all?
Where code pages are used?
Which method is used to perform all validation at the page level?
Explain the difference between webfarm and webgardens in .net?
What is data cache in sql server?
What is IPostBack? How to use it?
How is my content secured from unauthorized access?
Explain Optimization technique description?
What is the importance of Global.asax in ASP.NET?
What are the ways of preserving data on a Web Form in ASP.NET?