Nested Gridview without javascript

Posted by Sksamantaray under ASP.NET on 3/17/2012 | Points: 10 | Views : 1805 | Status : [Member] | Replies : 2
I need a nested gridview .
1.Each row of Master gridview should have a "+" icon.
2.By default , when first time grid is loaded the first row should be extended ,the icon should be "-" in first row.
3. When i Click on any other master row's "+" icon the child details of that row should be displayed below that.Rest other row should be quizzed and only "+" icons with header(master) details to be displayed.
4.More importantly , i need it without using javascript.

Thanks,
Sanjay



Responses

Posted by: Rajni.Shekhar on: 3/22/2012 [Member] Bronze | Points: 25

Up
0
Down
you can refer...
http://www.codeproject.com/Articles/38046/Nested-GridView-No-JavaScripts

Thanks,
Rajni Shekhar

Sksamantaray, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/22/2012 [Member] Silver | Points: 25

Up
0
Down
Thank you Rajani for this link.
It has little deviation from my requirement i.e
when you click on a + other should not be there only 1 child table has to be loaded for performance.
In this example all child grids are loaded and only , he is trying to make the container panel to visible true or false.
If you can try this and add a sample code?

Thanks,
Sanjay

Sksamantaray, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response