|
|
Client Side Scripting using ASP.NET |
|
|
C# Corner |
|
|
ASP.NET / Component & Controls |
|
|
Click to Visit |
|
|
243 |
This is an ASP.NET tutorial through which you can learn how to add the client side script in the ASP.NET pages. Using client side script helps in reducing load on the server. RegisterClientScriptBlock and RegisterStartupScript methods of the Page class are used to add the clientside script on the aspx pages. The sample program given in this tutorial shows how to display a message box and changing the web page display when a button is clicked by inserting a clinet side script. You can also check whether the script is already registered or not using the IsClientScriptBlockRegistered and IsStartupScriptRegistered methods of the page class.
|