Completed
Last Updated: 14 Mar 2019 12:05 by ADMIN
Vladimir
Created on: 20 Feb 2019 13:26
Category: GridView
Type: Bug Report
1
GridView: An InvalidOperationException is thrown when clicking the Tab key, when all columns are readonly, a new row is added and the NewRowPosition is Bottom
When all columns are readonly, the NewRowPosition is Bottom, a new row is added through the UI and the Tab key is pressed, an InvalidOperationException is thrown.

As a workaround, you can call the CommitEdit method inside a Dispatcher with a low priority in the AddingNewDataItem event:
private void Grid_AddingNewDataItem(object sender, Telerik.Windows.Controls.GridView.GridViewAddingNewEventArgs e)
        {
            Dispatcher.BeginInvoke(new Action(() =>
            {
                this.Grid.CommitEdit();
 
            }), DispatcherPriority.ApplicationIdle);
        }
1 comment
ADMIN
Vera
Posted on: 14 Mar 2019 12:05
Hi,

The fix for this issue will be available with the next LIB (version 2019.1.318) expected on Monday, March 18.

Regards,
Vera
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.