This is a migrated thread and some comments may be shown as answers.

When i select child grid item associated parent also should get selected

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Saju
Top achievements
Rank 1
Saju asked on 14 Sep 2011, 12:27 PM
Hi

I have one main grid and two detailed grid inside main grid.
Eg : ParentGrid --> ChildGrid -- > GrandChildGrid

When i select a item in Grand child Grid associated Child grid and Parent grid items should get selected.
I need it do it using client side events or functions.

Please Help.


Thanks in Advance.
Saju

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 17 Sep 2011, 09:18 AM
Hi Saju,

This would require a lot of custom client code which is scenario specific. You could access the client row object of the selected row in the OnRowSelected event, then get its datakeyvalue and use it to traverse the grid object and look for the relevant parent row. Once you find it, you can use the selectItem() method to get it selected.

All the best,
Tsvetina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
Tags
Grid
Asked by
Saju
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or