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

Pagination in grid view

6 Answers 111 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Lakshmi Thangaraj
Top achievements
Rank 1
Lakshmi Thangaraj asked on 10 Nov 2010, 11:55 AM
Hai

I am binding the radgrid view with lacs of data. I need to create pagination in radgridview.
How can i create pagination radgridview?


Thanks



6 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 10 Nov 2010, 12:01 PM
Hello, 

Please review this blog post which tells you how to emulate paging in RadGridView for Winforms

Hope this helps
Richard
0
Lakshmi Thangaraj
Top achievements
Rank 1
answered on 10 Nov 2010, 12:48 PM
Hai  

I go through the thread . But i didn't found the solution. Is there any solution available for pagination
0
Richard Slade
Top achievements
Rank 2
answered on 10 Nov 2010, 12:55 PM
Hello,

radGridView by default doesn't support paging but also have a read of this forum post which should give you some ideas on various solutions.

Hope that helps
Richard
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on 10 Nov 2010, 01:59 PM
Hello Lakshmi,

You require pagination for which type of data source?
What type of pagination? Just aesthetics or also lazy loading of data?

If you can wait, i was meaning to create a demo app for pagination, but sadly i do not have time right now.

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga
0
Lakshmi Thangaraj
Top achievements
Rank 1
answered on 10 Nov 2010, 02:14 PM
Hai


Thanks for your reply.I  am using a dataset as the data source and I am reading the data from XML file. The XML File has lacs of data. 
Its hard to scroll through all the records. So i want to create pagination in the grid. The grid should display 50 row per page. Is there any way to create pagination for these many records?


Thanks.

0
Richard Slade
Top achievements
Rank 2
answered on 10 Nov 2010, 02:45 PM
Hi, 

I'd suggest following the link to the blog post that I sent earlier, changing your dataset for LINQ and using that. There is a sample project with the blog post that can be adapted. 

Hope that helps, but let me know if you need anything else
Richard
Tags
GridView
Asked by
Lakshmi Thangaraj
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Lakshmi Thangaraj
Top achievements
Rank 1
Emanuel Varga
Top achievements
Rank 1
Share this question
or