Equivalent to ContainerFromItemRecursive for a GridViewRow

2 posts, 0 answers
  1. Paul Brun
    Paul Brun avatar
    41 posts
    Member since:
    May 2010

    Posted 30 Nov 2011 Link to this post

    I know the TreeView has a convenient method to get the treeviewitem based on the underlying data object. I am curious if there is an equivalent for finding a GridViewRow object based on the underlying data object for a RadGridView.

    There is no method that jumps out at me that could possibly do this....

    Paul
  2. Paul Brun
    Paul Brun avatar
    41 posts
    Member since:
    May 2010

    Posted 30 Nov 2011 Link to this post

    nevermind, found my solution:

    (GridViewRow)<radgrid>.ItemContainerGenerator.ContainerFromItem(<dataItem>);
Back to Top