
Tomasz Wisniewski
Top achievements
Rank 1
Tomasz Wisniewski
asked on 28 Jul 2010, 11:41 AM
I'm using a GridView with RowDetails.
I would like to have SelectedItem automatically set when expand the details not just when I click on some column in the row.
Is that possible?
I would like to have SelectedItem automatically set when expand the details not just when I click on some column in the row.
Is that possible?
4 Answers, 1 is accepted
0
Hi Tomasz Wisniewski,
Yavor Georgiev
the Telerik team
You can handle the RowDetailsVisibilityChanged event and set the SelectedItem on RadGridView in your event handler.
Sincerely yours,Yavor Georgiev
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

Tomasz Wisniewski
Top achievements
Rank 1
answered on 28 Jul 2010, 11:48 AM
But I'm using an ActionCommand which is bound to my ViewModel.
0
Accepted
Hello Tomasz Wisniewski,
Yavor Georgiev
the Telerik team
Please find attached a sample solution that uses a Blend Behavior to handle the event. This is compatible with MVVM, as there is no code-behind or access to the data layer.
All the best,Yavor Georgiev
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

Tomasz Wisniewski
Top achievements
Rank 1
answered on 28 Jul 2010, 12:25 PM
Thanks for the reply but I've measled you a little bit.
I was using a custom hierarchy instead of typical row details template and that's why it wasn't synchronized properly.
I was using a custom hierarchy instead of typical row details template and that's why it wasn't synchronized properly.