run jQuery code from ASP.NET Server-Side(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 8 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.

add a comment |category: |Views: 97

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story