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

Access GridViewRow in Dataform

1 Answer 7 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 06 Jun 2013, 10:02 AM
Hi,

i use a RadDataform bind to a MVVM. This view contains some strings and an ObservableCollection<UserRollen>.
This Collection is bound to a GridView. In each row I have a button which should show me a Popup with details of
this Item.

How do I get the selected gridviewrow and the item which is selected?

Thanks
Best Regards
Rene

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 07 Jun 2013, 12:10 PM
Hi,

 It is not recommended to directly access the rows. You would better work with the data items intstead. You can use RadGridView's SelectedItem property, in order to retrieve the currently selected item. May I ask you to tell us what exactly you are trying to achieve?

Regards,
Ivan Ivanov
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DataForm
Asked by
ITA
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or