Hello, I'm trying to switch cell is being edited based on selection in the current cell.
the current cell is a combobox column, if a paticular selection is made I'd like to put another cell in the same row into edit mode.
The code below seems to do that, however the selected value of the first cell is not persisted.
I'm assuming that's because the edit sequence did not complete for the initial cell.
Is there a better way to do this?
If TypeOf sender Is Telerik.WinControls.UI.GridComboBoxCellElement Then |
cell = RadGridView1.CurrentView.CurrentCell |
If RadGridView1.ActiveEditor.Value.ToString().ToLower() = "customexpression" Then |
ex_cell = cell.RowInfo.Cells("Expression") |
ex_cell.BeginEdit() |
End If |
End If |
Thanks