Completed
Last Updated: 30 Oct 2020 14:18 by ADMIN
ADMIN
Peter Milchev
Created on: 04 Apr 2017 08:20
Category: Grid
Type: Bug Report
4
Grid with RadClientDataSource sends two requests when navigating with Grid pager

		
6 comments
ADMIN
Peter Milchev
Posted on: 30 Oct 2020 14:18

Hello Anton,

Can you please try using the code below instead of the masterTableView's rebind? 

var grid = $find("<%= personsGrid.ClientID %>")
grid._clientSideBinding._change();
//grid.get_masterTableView().rebind();

Regards,
Peter Milchev
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/.

Anton
Posted on: 28 Oct 2020 06:23

Hi Peter! 

Thank you, this seems to fix the issue on initial load. However, we still see the old behavior:

  1. Using the original project, add a button that calls a function that "rebind" the grid
  2. It does call the method multiple times again.

On initial load there is no problem, only upon rebinding.

We greatly appreciate the assistance. We will keeping an eye out for any new updates.

Thank you!

ADMIN
Peter Milchev
Posted on: 27 Oct 2020 13:51

Hello all,

The issue seems to be fixed but the item was not updated properly. Attached you can find a sample project demonstrating the correct behavior. 

In some cases, there might be an additional initial request when the pagesize of the ClientDataSource is not set and the PageSize of the Grid is different from the default PageSize=10.

Usually, this is fixed by setting the same PageSize to both Grid and ClientDataSource.

If anyone still experiences duplicate requests, please modify the attached project and send it back to us for further investigation.

Regards,
Peter Milchev
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/.

Kuya
Posted on: 26 Oct 2020 06:05
Hi, following up please. Thank you! Also occurs when the table is empty.
Kuya
Posted on: 02 Dec 2019 05:36
Is this going to be fixed? We still encounter this problem.
Eric
Posted on: 14 Dec 2018 13:19
Is this ever expected to be scheduled for a fix?  The problem seems to occur not only when navigating with a grid pager but by simply setting AllowPaging="true"