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

Grid Loading and Filtering Very Slow... Help!

3 Answers 160 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott Smith
Top achievements
Rank 1
Scott Smith asked on 31 May 2012, 05:19 PM
I have a grid setup for managing users of a website. If you come to the page as an admin, the grid loads a couple thousand records and because of this, takes a couple minutes for the grid to load and is even slower when you try to filter on one of the columns. How can I prevent this? I need to do something like load only the current page of users being shown while still maintaining paging and filtering abilities. Is this something that can be done easily? If not, any suggestions on how to code this? 

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 31 May 2012, 09:35 PM
Hi Scott,

Have you considered taking advantage of the custom paging feature of our web grid? Thus only a subset of records visible on the rendered page will be fetched from the underlying source.

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Scott Smith
Top achievements
Rank 1
answered on 31 May 2012, 10:05 PM
I have but for some reason, I can't get the NeedDataSource event to fire. I've tried everything I can and it won't hit the NeedDataSource event on the page load, and thus it doesn't load the grid. I can't figure out why.
0
Pavlina
Telerik team
answered on 05 Jun 2012, 09:01 AM
Hello Scott,

Can you share the whole page code behind for further check?

Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Scott Smith
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Scott Smith
Top achievements
Rank 1
Share this question
or