Hello, my problem is that, I have RadGridView with 2 non readonly columns. When Im trying to edit row, and accept with 'enter', in first row selection is changed to second row, but doesn't from second to next etc. What I'd like to reach - after commit in RowEditEnded -> select next row if there is one (at this momment after editing first, as I said, going into edit mode in second, but stays here with cell edit).
Code:
Code:
void myDG_RowEditEnded(object sender, Telerik.Windows.Controls.GridViewRowEditEndedEventArgs e)
{
if (e.EditAction == Telerik.Windows.Controls.GridView.GridViewEditAction.Commit)
{
editInDatabase(e.NewData);
}
}
void editInDatabase(object o)
{
myType np = (myType)o;
using (SqlConnection conn = new SqlConnection(cString.c_String))
{
//edit row in database
}
}