Hi,
I'm trying a code sample found in the demo here I think and it doesn't do what I tought it would do.
When I right click on a row which isn't the selected one, it doesn't select the row.
How do I make it so when I right click to open the ContextMenu it is also selecting the line I right clicked on ?
I'm trying a code sample found in the demo here I think and it doesn't do what I tought it would do.
private void _rcmJobs_Opened(object sender, RoutedEventArgs e) |
{ |
GridViewRow row = ((Telerik.Windows.RadRoutedEventArgs)e).OriginalSource as GridViewRow; |
if (row != null) |
row.IsSelected = row.IsCurrent = true; |
} |
When I right click on a row which isn't the selected one, it doesn't select the row.
How do I make it so when I right click to open the ContextMenu it is also selecting the line I right clicked on ?