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

Find Row in ChildGrid

5 Answers 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Johann
Top achievements
Rank 1
Johann asked on 14 Mar 2012, 10:46 AM
Hi,

how can i find a row in a child grid?

before i  periodly update my itemssource for my Hierachical Gridview i save my current selecteditem in a childgrid.
After i update the Itemsource i want to expand the same parentitem and select the same Childitem as before.

How can i do this?

I hope you can understand what i mean. Sorry for my bad english

grettings Johann

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 15 Mar 2012, 10:51 AM
Hi Johann,

 You can save the SelectedItem and then when the RowDetails are expanded set the selected item back. When row details are being loaded (LoadingRowDetails event is fired), you can use the e.DetailsElement  (the child GridView) and set its SelectedItem.

All the best,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Johann
Top achievements
Rank 1
answered on 15 Mar 2012, 11:50 AM
Hi thank you, for your reply,

I found this threat: http://www.telerik.com/community/forums/wpf/gridview/how-to-access-child-gridview-row.aspx#883091

Is it possible to use this with the actual RadControl-Binaries?

It says RadGridView has no definition for Records?

Greetings Johann
0
Dimitrina
Telerik team
answered on 15 Mar 2012, 01:10 PM
Hello,

 This forum is from the year of 2009. This property is not available any more. Please use the Items property of the RadGridView.

Regards,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Johann
Top achievements
Rank 1
answered on 15 Mar 2012, 02:03 PM
Hi,

Can you please explain me in a little Demo how  i  can do that? I found the Items in my GridView, but how can find the Parent-GridRow associated to the Items? My Items are not Type of GridViewRow

Greetings Johann
0
Johann
Top achievements
Rank 1
answered on 16 Mar 2012, 10:33 AM
Hello,

I've solved the problem myself

Thanks anyway for your help
Tags
GridView
Asked by
Johann
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Johann
Top achievements
Rank 1
Share this question
or