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

RadGrid pagination

3 Answers 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Hansik
Top achievements
Rank 1
Hansik asked on 13 Jun 2008, 04:16 PM
Hi,

   I am trying to implement a RadGrid that allows paging (pagination). Most of the examples I found use SqlDataSource where the query is integrated with the pagination process. However, in my case, I am using a DataTable to bind the grid with so I am not sure how to link the pagination event to it. Right now, with the AllowPaging=true, I can display the grid with it successfully but when I click on the next page, it returns blank obviously because my DataTable is not integrated with it.  Can someone help me with Paging using a DataTable?
  
   I really appreciate your help!

Thanks,
Arthur

3 Answers, 1 is accepted

Sort by
0
Accepted
Vladimir
Top achievements
Rank 1
answered on 13 Jun 2008, 04:28 PM
0
Accepted
Princy
Top achievements
Rank 1
answered on 16 Jun 2008, 06:34 AM
Hi Arthur,

Have you set a PageSize smaller than the total number of items? You can also go through the following online demo.
Simple data-binding

Thanks
Princy.
0
Hansik
Top achievements
Rank 1
answered on 03 Jul 2008, 04:05 PM
I apologize it took me a while to respond. Both of these suggestions were helpful and I was able to make it work now.

Thanks, Vlad and Princy for your help! I really appreciate it!

Tags
Grid
Asked by
Hansik
Top achievements
Rank 1
Answers by
Vladimir
Top achievements
Rank 1
Princy
Top achievements
Rank 1
Hansik
Top achievements
Rank 1
Share this question
or