Error!
Success!

run jQuery code from ASP.NET Server-Side

0
kicks

run jQuery code from ASP.NET Server-Side  (Unpublished)

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.


Kicked By:
Drop Kicked By: