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

[Solved] How to retrieve list of all filtered records(when paging is enabled)?

1 Answer 101 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ankur Nigam
Top achievements
Rank 1
Ankur Nigam asked on 05 Jan 2012, 04:12 PM
Hi,

I am using Telerik MVC Grid with Sorting/Filtering/Paging enabled.

I am wondering how can I get all the data in dataset (or list of Model bound to grid) when user applied some filtering criteria and paging are enabled.

Allow me to explain it better.

Let's say, I have 100 records in database which is bound to MVC Grid. I have paging set to 10 records per page.
Now, user have applied the filtering creitria for Country, say Country=Russia, which returns 55 records. Since paging is enabled, only 10 records are rendered to end user at a time with 6 pages to view.

Now, at this point, if he clicks any buttons I want to retireve all the 55 records in dataset (or list of Model bound to grid.)

How can I do this? I am totally clueless about it.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Tim
Top achievements
Rank 1
answered on 06 Jan 2012, 05:31 PM
It's right in the documentation, look under Ajax binding.
Tags
Grid
Asked by
Ankur Nigam
Top achievements
Rank 1
Answers by
Tim
Top achievements
Rank 1
Share this question
or