Get Direct HTML string for Server Side Control - Useful for Ajax (aspdotnetmatters.blogspot.com)

submitted by ashishsarda99ashishsarda99(220) 1 year, 6 months ago

How to get rendered HTML of any control for Ajax operations? In ajax on client, what exactly we do is the simple manipulation of strings. Mainly we can use HTML strings and put it as innerHTML in desired tag (i.e. div,span,td, etc…). Assume following sequence of operations 1. Send an Ajax request from client to server. 2. On server side we are binding data table to grid 3. Convert the grid into HTML string and send it back to client side. 4. On client side put that string as an innerHTML of desired tag.

add a comment |category: |Views: 0

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