run jQuery code from ASP.NET Server-Side(blog.dreamlabsolutions.com)
submitted by
arnoldmatusz(600) 2 years, 11 months ago
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.
|category: jQuery
|Views: 102
tags:
ScriptManager jQuery ASP.NET JavaScript another
Everyones tags:
Your Tags: