Access GridViewRow in Dataform

2 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 06 Jun 2013 Link to this post

    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
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 07 Jun 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top