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 do u deploy ur project?
In a Repeater control how one can provide an alternating color scheme ?
Explain the disadvantages of viewstate?
List of words of preprocessor in .net?
What a diffgram is, and a good use for one?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
Is it right that ASP.NET Web API has replaced WCF?
Name the tools or API for developing or testing web api?
What is a server cookie?
how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool
What does the hotspot class in .net do?
What are custom user controls in asp.net?
Should I delete cookies?
Will session work if cookies is disabled?
Explain login control and form authentication.