I have a page with a telerik RadGridView and a couple of buttons. I'd like clicking the buttons to select the previous/next rows from the grid. So I'm trying out RadGridViewCommands from the button's Click events:
The various move commands change the focus, but they do not change the selected row.
I've tried MoveUp, followed by SelectCurrentItem, but that doesn't seem to change the selection at all.
Ideas?
private void prevButton_Click(object sender, RoutedEventArgs e){ var cmd = RadGridViewCommands.MovePrevious as RoutedUICommand; cmd.Execute(null, myGrid);}The various move commands change the focus, but they do not change the selected row.
I've tried MoveUp, followed by SelectCurrentItem, but that doesn't seem to change the selection at all.
Ideas?