Click here to Skip to main content
15,921,250 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a gridview which i have to bind through javascript.
I am getting the datatable from the server side to client side by using ajax method.
I want to bind the returned datatable to the grid view through javascript.
Please help me on the same.

Thanks !
Posted

JavaScript
document.getElementById("gvTest").outerHTML = responseText;


Look at this article for something similar done. (Grid populated from data in javascript):
ClientCallback custom control for web applications[^]
 
Share this answer
 
JavaScript
<pre lang="Javascript">
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900