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

[Solved] Limiting view results in Tlerik MVC Grid

1 Answer 16 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.
Grzegorz Żydek
Top achievements
Rank 1
Grzegorz Żydek asked on 05 Jul 2011, 07:40 PM
Hi

Is there a option that I could limit result after filtering grid?

I'm using Linq2Sql and I now that I can do 'Take(n)' on result set before I send it to grid, but this is not what i'm looking for., because this limit my result before filtering (ajax filtering). My goal is to filter all results, and then limit filtered results.

Cheers, Grzesiek

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 06 Jul 2011, 06:50 AM
Hi Grzegorz Żydek,

 The grid will do that automatically if you provide an IQueryable as a datasource. If your datasource is not IQueryable you can use custom binding.

Regards,
Atanas Korchev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Grzegorz Żydek
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or