Scroll to newly added item

This article shows how to scroll RadGridView to the newly added item.

When you insert a new item, it is added as last item in of RadGridView. If you want to scroll to it, you will have to handle RadGridView's RowEditEnded event and execute the following code:

private void clubsGrid_RowEditEnded(object sender, GridViewRowEditEndedEventArgs e)
    if (e.Row is GridViewNewRow)
        this.clubsGrid.SelectedItem = e.Row.Item;
Private Sub clubsGrid_RowEditEnded(sender As Object, e As GridViewRowEditEndedEventArgs)
    If TypeOf e.Row Is GridViewNewRow Then
        Me.clubsGrid.SelectedItem = e.Row.Item
    End If
End Sub
In this article
Not finding the help you need? Improve this article