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
What is ascx?
What is clr? Difference between clr & cts?
How can we call webservices in Banking Applications? and where we are using it?
Explain the difference between value type and reference type?
What are the Types of session management in ASP.NET
How can u debug your .net application?
Differentiate globalization and localization.
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
Explain significance of routing? : asp.net mvc
What is the maximum amount of memory any single process on windows can address?
How can we implement a identity (sql server) call in an asp.net page?
Can you set which type of comparison you want to perform by the comparevalidator control?
How can you dynamically add user controls to a page?
Why is the standalone environment only useful during the development process?
What is the life cycle of web page?