Hello,
In the RadGridview, How can I get the row number from the row the user has selected\hovered over? I need the number in order to zoom to a specific part of an adjoined map(according to the row). I tried taking it out of the sender in a radgridview_SelectionChanged event by doing the following:
int iRow = Convert.ToInt16(((System.Windows.Controls.TextBlock((((Telerik.Windows.Controls.Gridview.GridViewRowItem)
sender).Cells[0].Content)).Text);
But it has a Invalidcastexception (from radgridview to gridviewrowitem).
Please help.
In the RadGridview, How can I get the row number from the row the user has selected\hovered over? I need the number in order to zoom to a specific part of an adjoined map(according to the row). I tried taking it out of the sender in a radgridview_SelectionChanged event by doing the following:
int iRow = Convert.ToInt16(((System.Windows.Controls.TextBlock((((Telerik.Windows.Controls.Gridview.GridViewRowItem)
sender).Cells[0].Content)).Text);
But it has a Invalidcastexception (from radgridview to gridviewrowitem).
Please help.