This is a migrated thread and some comments may be shown as answers.

How to prevent multiple post back on Kendo UI Grid

3 Answers 184 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Juan
Top achievements
Rank 1
Juan asked on 15 Feb 2017, 10:59 PM
Hi, I have a question about the Kendo Grid control, in my application, I have one kendo grid using wrappers (MVC) on one page and everything works fine but I have noticed a couple of issues with it. When I click on the "go to next page or go to previous page" button Read kendo property is being fired which calls the action result method on my controller; in my case, is one simple stored procedure that returns X number of data, for one user this will work fine but it will not do so if 20 users or more are doing the same thing at the same time. This issue is not exclusive with the paging or sorting but everything including filtering, refresh button, etc. So my question is if there is any way to cache the data (store the data in memory) and filter this data instead of reading the data from the stored procedure each time.

3 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 17 Feb 2017, 08:57 AM
Hi Juan,

You can enable client-side data processing, as described in the following section of our documentation:

http://docs.telerik.com/aspnet-mvc/helpers/grid/binding/ajax-binding#enable-client-data-processing

I hope this helps.

Regards,
Dimiter Topalov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Juan
Top achievements
Rank 1
answered on 21 Feb 2017, 09:09 PM
Hi Dimiter,

Thank you for the suggestion, unfortunately, the Client Data processing is not a viable option in our project, the reason is that each user can see a different number or rows in the grid. The client data processing works great with small datasets, I just decided to add some client filters (filters outside the grid) and show data on the grid based on that to show a smaller number of rows.
0
Dimiter Topalov
Telerik team
answered on 23 Feb 2017, 01:58 PM
Hi Juan,

I am glad you have found a solution, suitable for the specifics of the scenario. Do not hesitate to contact us again, if you have any other Kendo UI-related questions or issues.

Regards,
Dimiter Topalov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Juan
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Juan
Top achievements
Rank 1
Share this question
or