Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Any ideas on how I can acheive 'Hierarchical' gridview? Basically I want when the user clicks on the '+', i "expand" and insert new rows without a full page post back.

one more thing is that i want n level nested grid view(not two or three level).

Does this possible in ASP.NET and c# ?

Please drop your valuable feedbacks ASAP...

Thanks
Posted

1 solution

I believe nested data grid is error prone design. Instead you should use Ajax/Jason for retrieving data from server then add that data into HTML table using JQuery or JavaScript.

Below are few links which you can use for reference about Ajax/Jason and JQuery.

Simple JSON Handler for ASP.NET 2.0 to Implement AJAX Functionality[^]

http://www.ezzylearning.com/tutorial.aspx?tid=5869127[^]

ASP.NET – JSON – Serialization and Deserialization[^]

Add table row in jQuery[^]
 
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