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

Programmatically Select Child Row in RadGrid

4 Answers 289 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sarah
Top achievements
Rank 1
Sarah asked on 29 Oct 2009, 09:05 PM
Hello,
I am using the hierarchical rad grid to show Locations and Projects in those locations.  I have a corresponding map that allows the user to click on locations and projects.  When the user clicks on a project, I need the child row for that project to select. 

I can get to the Location rows, but not the Project rows.  I have read that the child rows are not instantiated until the parent row is expanded.  So is my request even possible?

Please help!

Sarah

4 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 04 Nov 2009, 01:23 PM
Hello Sarah,

Well, it could be achieved depending on your specific requirements. I have prepared a sample application that show how you can select a random child item. Hope it helps.


All the best,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Renato Barbato
Top achievements
Rank 1
answered on 01 Apr 2010, 12:18 PM
Hi, I have to select all child item when selecting a parent item in hierachical grid.
I try to use your sample project, but it seems it doesn't work in last release of telrik controls.
can you help me to solve thi problem?
thanks
Renato

0
Milan
Telerik team
answered on 06 Apr 2010, 08:26 PM
Hello Renato Barbato,

I have updated the original application to work with our latest binaries and I have also added several methods that automatically select all this items when parent item is selected - this is implemented in the radGridView_SelectionChanged event handler.

Hope it helps.


All the best,
Milan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Renato Barbato
Top achievements
Rank 1
answered on 12 Apr 2010, 09:55 AM
Thank you!
Renato

Tags
GridView
Asked by
Sarah
Top achievements
Rank 1
Answers by
Milan
Telerik team
Renato Barbato
Top achievements
Rank 1
Share this question
or