Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can I make all these grids on one page - i.e. when I click on link1, then only the grid corresponding to that link will appear on the page and when I click on link2, then only the grid for link2 appears? Only the grid for the activated link should be visible and all other grids are hidden.I dont want to use master Page. Is there is another way of doing it??
Posted
Comments
[no name] 27-Nov-14 7:25am    
Add only one gridview with property AutoGenerateColumns="True" and based on the click you can fill the grid with corresponding records.

Yes you can do it but there are many ways to do it. You can simply wrap the grids in individual divs and use jQuery to hide/show what you need. You can also use 3rd party grid controls that load on demand and control them that way. It all depends on what you want to do.
 
Share this answer
 
Make use of accordion control
refer below link

http://forums.asp.net/t/1387237.aspx?Accordion+GridView[^]
 
Share this answer
 
v2

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