Hello and merry X-mas to all.
I have following problem which I cannot solve by my own.
I have an empty GridView (not bound to any data source).
I would like to set the Grid in edit mode automatically when the user enters the grid by the tab key.
So I tried something like this, which does not work.
Private Sub RadGriedView1_Enter(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGriedView1.Enter
Dim currCell As GridViewCellInfo = Me.rgv_Certificates.Rows(0).Cells(1) 'GridCellElement
currCell.IsSelected = True
currCell.BeginEdit()
End Sub
I guess this would work if there are already rows with data. But my grid is empty.
How can I programmatically activate the edit mode, starting with editing the first cell in the newly added row when the user enters the grid.
Without using the mouse! Only with tab key.
Thanks for your help
Roberto
I have following problem which I cannot solve by my own.
I have an empty GridView (not bound to any data source).
I would like to set the Grid in edit mode automatically when the user enters the grid by the tab key.
So I tried something like this, which does not work.
Private Sub RadGriedView1_Enter(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGriedView1.Enter
Dim currCell As GridViewCellInfo = Me.rgv_Certificates.Rows(0).Cells(1) 'GridCellElement
currCell.IsSelected = True
currCell.BeginEdit()
End Sub
I guess this would work if there are already rows with data. But my grid is empty.
How can I programmatically activate the edit mode, starting with editing the first cell in the newly added row when the user enters the grid.
Without using the mouse! Only with tab key.
Thanks for your help
Roberto