4 Answers, 1 is accepted
0
Accepted
Timothy
Top achievements
Rank 1
answered on 09 Dec 2010, 01:14 AM
Example of pulling current row from currently selected cell.
Dim cell As GridViewCell = CheckListItemssDataGrid.CurrentCell Dim row = cell.ParentOfType(Of GridViewRow)()0
Hi Timothy,
Regards,
Maya
the Telerik team
You may try to use directly the SelectedItem and CurrentItem properties of the RadGridView. In case you need the row exactly, not the item, you may do the following:
var currentRow = this.playersGrid.ItemContainerGenerator.ContainerFromItem(this.playersGrid.CurrentItem);
var selectedRow = this.playersGrid.ItemContainerGenerator.ContainerFromItem(this.playersGrid.SelectedItem);Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Timothy
Top achievements
Rank 1
answered on 09 Dec 2010, 09:02 AM
Morten posed the initial question. I was just trying to help him out.
Thanks,
Tim
Thanks,
Tim
0
Morten
Top achievements
Rank 1
answered on 09 Dec 2010, 05:43 PM
Hi Timothy,
That worked. Thanks!
Maya:
Please consider adding a property for the highlighted row to the RadGridView control.
Thanks,
-Morten
That worked. Thanks!
Maya:
Please consider adding a property for the highlighted row to the RadGridView control.
Thanks,
-Morten