AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 How to bind an GridView in JavaScript
Posted by Shivani on  5/19/2010 10:32:46 AM Category: Asp.Net 2.0
Add to my favorites
Email to friend
Hi ,
Using Ajax Page Methods I have called a server side method and got the result also into the callback method in javascript ... Now I have an ASP.NET GridView and I need to bind that data in a javascript call back function..
How can we do it.. Can anyone suggest a solution for this please?

Thanks!

Post Your Reply Post New Question

 Viewer's Reply
Using ICallbackEventHandler
Answered By Moderator1 on 5/20/2010 8:57:45 AM
Hi,

Obviously, you cannot bind the GridView control from JavaScript. You have to make some work around to do this. Try using ICallbackEventHandler to bind the GridView from JavaScript.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Sexy Web Design - Free 71 Page Preview!
When Good HTML Goes Bad: How You Can Protect Your Web Applications
FierceDeveloper