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

[Solved] Paging in Search as you type GridView

1 Answer 80 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Manoj Chhabria
Top achievements
Rank 1
Manoj Chhabria asked on 12 Oct 2009, 01:19 PM
Hello Sir/Madam,

I am using the 'Search as you type' functionality http://demos.telerik.com/silverlight/#GridView/Search.

I want to use Paging in the grid, hence i have attached a DataPager control.

If there are 20 records in the grid and  when i search it only filters and shows the records, 5 in 1st page index and 5 in 2nd page index.

Ideally it should show 10 records in a single page index.

Can you please tell me how can i achieve this functionality ?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 15 Oct 2009, 04:22 PM
Hi Manoj,

My suggestion is to check out our implementation of ICollectionView - QueryableCollectionView, which includes support for paging via IPagedCollectionView. You should create a new QueryableCollectionView with your own collection and set it as both ItemsSource of the RadGridView and Source of the DataPager. Unfortunately we have recently discovered a bug with our IPagedCollectionView implementation that stops the DataPager from working correctly. The good news is that we have already fix this and will be available for beta 2 of RadControls for Silverlight 2009 Q3, which will be available later this week.

Sincerely yours,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Manoj Chhabria
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or