Unplanned
Last Updated: 06 Feb 2017 09:52 by ADMIN
ADMIN
Dimitar
Created on: 19 Jan 2017 13:53
Category: GridView
Type: Bug Report
2
FIX. RadGridView - the current row cannot be changed in the UserAddedRow event handler when the grid is not bound.
To reproduce use the attached project. 

Workaround:
Private Sub gvData_UserAddedRow(sender As Object, e As Telerik.WinControls.UI.GridViewRowEventArgs) Handles gvData.UserAddedRow
    Dim pi = GetType(GridViewNewRowInfo).GetProperty("MoveToLastRow", Reflection.BindingFlags.Instance Or Reflection.BindingFlags.NonPublic)
    pi.SetValue(Me.gvData.MasterView.TableAddNewRow, True, Nothing)
End Sub
Attached Files:
0 comments