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
Any disadvantages in Dataset and in reflection ?
Define session in asp.net.
Explain the differences between managed and unmanaged code?
Define common type system?
What is difference between web api and web services?
What is the mvc model?
What is cross page posting in asp net?
Differentiate between early binding and late binding.
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?
What is asp.net and ado net?
Define xmlvalidatingreader class.
What is variable and constant in .net programming language?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
How to create multi language website in asp.net mvc? : Asp.Net MVC