Duplicated
Last Updated: 27 Jan 2021 10:27 by ADMIN
René
Created on: 26 Jan 2021 11:06
Category: Grid
Type: Bug Report
1
If CreateHandler is cancelled, loading indicator does not disappear.

If a new item for a grid is created and the CreateHandler is cancelled due to some validation error, the new loading indicator does not disappear.

protected async void CreateHandler(GridCommandEventArgs args)
{

  var myItem = (MyModel) args.Item;

   if (!IsValid(myItem))
   {
       args.IsCancelled = true;
       return;
    }

   ...

}

Regards,

René

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Nadezhda Tacheva
Posted on: 27 Jan 2021 10:27

Hello René,

Indeed this is the current behavior as of version 2.21.0. Thank you for noticing this bug and reaching out!

It appears when you try to cancel any CUD event handlers. We are currently working on it to include a fix in an upcoming patch release 2.21.1.

We also have it logged in our public feedback portal here. I've added a vote on your behalf and you can also follow it to receive email notifications on status change (this is the best way to know when it gets fixed since we announce such information in the portal).

Regards,
Nadezhda
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.