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

PageSize or pageindex

1 Answer 221 Views
ListView
This is a migrated thread and some comments may be shown as answers.
ying
Top achievements
Rank 1
ying asked on 06 Sep 2011, 07:03 AM
can i set different page have different page size , 
such as page 1 , pagesize="3"
page 2 , pagesize ="1"

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 08 Sep 2011, 03:22 PM
Hi Ying,

You can only have equal number of items on each page inside RadListView. The number of pages, respectively the items that would show at a certain PageIndex are calculated based on the PageSize.

Instead of paging, you could use some control like a RadSlider for example and fetch only the needed items from the database based on the slider position, similar to the following online demo:
http://demos.telerik.com/aspnet-ajax/slider/examples/databinding/defaultcs.aspx

All the best,
Tsvetina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
ListView
Asked by
ying
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or