Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have dragged a grid view control and put in my design page.I will create rows based on the user input in java script and append to the grid view.But what my problem is grid view is not rendered as HTML table.
Posted

1 solution

 
Share this answer
 
Comments
VinothKumar90 4-Aug-14 3:31am    
Thanks for the reply..I know how to add rows to grid view using java script but I can't get the grid view id in client side ..but i'm getting grid view id in server side.
Peter Leow 4-Aug-14 3:38am    
say the gridview ID = "gridview1", then try this:
document.getElementById('<%= gridview1.ClientID %>')
read more: http://www.jagregory.com/writings/how-to-use-clientids-in-javascript-without-the-ugliness/

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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