Completed
Last Updated: 22 Jun 2016 10:10 by ADMIN
Minculescu
Created on: 11 May 2016 09:01
Category: Grid
Type: Bug Report
2
Server-side error thrown when pressing Save twice on Bath editing
Steps to replicate the error:
Add a row and press the save button twice (before the first saving finishes, press the button again).
This will throw a "System.NullReferenceException" at "Telerik.Web.UI.GridTableView.FillDataKeys".
1 comment
ADMIN
Angel Petrov
Posted on: 22 Jun 2016 10:10
The described behavior is expected as a second request is initiated before the result from the first is returned. One possible solution is to display a loading panel over the grid (ajaxify the grid). A second option would be to add a command item template with a RadButton, enable its Single Click functionality(http://docs.telerik.com/devtools/aspnet-ajax/controls/button/functionality/single-click-button) and inside its OnClientClicked call the saveChanges (http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-editing/edit-mode/batch-editing/client-side-api) method of the batch editing manager to save the data.