Nested Gridview without javascript

Posted by Sksamantaray under ASP.NET on 2/8/2012 | Points: 10 | Views : 2793 | Status : [Member] | Replies : 4
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: Patel28rajendra on: 3/19/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

visit This link

http://www.codeproject.com/Articles/38046/Nested-GridView-No-JavaScripts

Thanks

R D Patel

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

Posted by: Patel28rajendra on: 3/19/2012 [Member] Starter | Points: 25

Up
0
Down
hi

refer this

http://www.dotnetfunda.com/codes/code894-nested-gridview-example-.aspx

R D Patel

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

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

Up
0
Down
If you can send a sample ,will be gr8

Thanks,
Sanjay

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 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