how to add cliet side event to server side?
and
how to register client script to sever side? wt difference
these two
Answer Posted / raju
we can register client script in serverside also....if u
want to make it in serverside use this code...
ClientScript.RegisterStartupScript(Me.GetType
(), "script", "<script language=""javascript"">function1()
</script>")
(or)
Me.Page.RegisterClientScriptBlock("close", "<script
language=javascript>javascriptcode......</script>")
I think there is no difference b/n those two....depending
upon the situatio we can use any of these....
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Define a static class?
Is asp.net and .net same?
How do I open an ashx file?
Why do we use sessions?
Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?
Which method is used to enforce garbage collection in .net?
Explain the main function of url routing system in asp.net mvc? : asp.net mvc
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
Which .NET framework supports Web API?
What asp.net control can embed xaml into asp.net pages?
Explain how cookies work.
What are session state modes?
What is work flow gen? how can it will work with .Net?
What is the adavantage of using ASP.NET routing?