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

[Solved] Custom Paging with RadGrid

3 Answers 252 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kashif
Top achievements
Rank 1
Kashif asked on 15 Mar 2009, 10:59 PM
Hi,

Can anyone please share some sample code on custom paging for RadGrid in n tier architecture.

Right now I bind grid like this:

List<User> users = User.GetAll();
myGrid.DataSource = users;

What "options" do I have to add my "GetAll" method to allow paging, sorting, filtering etc. And which events of RadGrid I have to catch for such functionality. Thanks,

Kashif

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 16 Mar 2009, 07:13 AM
Hi Kashif,

You can refer to the following demo where you will find an example of Custom paging, grouping & filtering on 100000 items using NeedDataSource in a grid. In the example you can find that the grid is bound using an object collection.
Custom paging

Thanks
Princy.
0
Josue
Top achievements
Rank 1
answered on 30 Jul 2009, 03:11 PM
Hi Princy,

I have a question about the Custom Paging with NeedDataSource. I had implemented just like the example in there. I see when there is a filtering, in the example, it do a Fetch of all the data, right? If this is correct, the RadGrid do a internal fetch for those records it matches, right? My question is, those records that it doesnt matches stay somewhere in memory or it clean it up? My question comes for the situation of having 2-3 millions records and I dont want them filling memory. Please let me know. Thanks,

Josue
0
Ian
Top achievements
Rank 1
answered on 21 Aug 2009, 04:29 PM
Hi, I would also like to know the answer / solution to Josue's question.
Cheers, Ian. 
Tags
Grid
Asked by
Kashif
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Josue
Top achievements
Rank 1
Ian
Top achievements
Rank 1
Share this question
or