Wednesday May 4th

Tuesday May 3rd

Monday May 2nd

1 Kicks

run jQuery code from ASP.NET Server-Side

The post is the example of an approach: how you would run some jQuery code from ASP.NET code-behind (server-side). If there is a ScriptManager on the page and the request was Asynchronous, then the JavaScript code needs to be registered with ScriptManager.RegisterClientScriptBlock. If the request is just a simple standard Postback, registering the JavaScript with Page.ClientScript.RegisterClientScriptBlock is the solution.


Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network