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

Equivalent to ContainerFromItemRecursive for a GridViewRow

1 Answer 9 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Paul Brun
Top achievements
Rank 2
Paul Brun asked on 30 Nov 2011, 08:02 PM
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

1 Answer, 1 is accepted

Sort by
0
Paul Brun
Top achievements
Rank 2
answered on 30 Nov 2011, 08:33 PM
nevermind, found my solution:

(GridViewRow)<radgrid>.ItemContainerGenerator.ContainerFromItem(<dataItem>);
Tags
GridView
Asked by
Paul Brun
Top achievements
Rank 2
Answers by
Paul Brun
Top achievements
Rank 2
Share this question
or