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
How is session id generated?
In which event of the page viewstate is available?
where can i gather the materials for MCP certification
6. Tell us about a time when you failed to meet a deadline. What were the repercussions?
What are directives in asp.net?
Explain Life cycle of ASP.NET page when a request is made.
Which object encapsulates state or data of a user?
What is applicatio domain?
A Web Service Can Only Be Written In .net. Is it True??
Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
Explain about solution explorer window?
How do I upload a file from my ASP.NET page?
What does the .webpart file do?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
How can you display all validation messages in one control?