I have a screen with a gridview on it where the user can select a row and it populates information on the screen. In the edit section I have created a Next and Previous button
The problem is is if the user clicks on a row with the mouse then hit the previous or next button the application seems unaware of the current row that was selected by the mouse click. How do I set the Currentrow info on a mouse click.
private void NextButton_Click(object sender, System.Windows.RoutedEventArgs e)
{
GeneralLedgerGridView.Items.MoveCurrentToNext();
var selectCommand = RadGridViewCommands.SelectCurrentUnit as RoutedUICommand;
selectCommand.Execute(null, this.GeneralLedgerGridView);
}
The problem is is if the user clicks on a row with the mouse then hit the previous or next button the application seems unaware of the current row that was selected by the mouse click. How do I set the Currentrow info on a mouse click.