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

How Does Paging Work With EntityDS

1 Answer 36 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Veteran
Jeff asked on 19 Sep 2012, 01:19 PM
I have asp.net 4.0 MVC (ASPX) application using the RadGrid. I created an EnityDataSource which populates the Grid  just fine when the aspx page loads. The pager at the bottom of the grid gets set up wonderful with total pages, page numbers etc and so forth.

When I click on Page "2" the grid just refreshes with the intial load ( the first page of results).  As I understand, paging is done on database level. Okay fine. For the life of me, I don't know how, where or if I need to pass the current page, the "next page number" and whatever else to get the paging to work proplerly.  

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 24 Sep 2012, 11:50 AM
Hi,

RadGrid paging functionality works out of the box with declarative datasources like entity datasource. Most probably the reason for this behavior is a databinding error. Could you share your full page source code along with the code-behind file content? Thus all the people who want to help you will have better understanding of your project and will be able to give more to-the-point directions.

Greetings,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Jeff
Top achievements
Rank 1
Veteran
Answers by
Andrey
Telerik team
Share this question
or