开发者

is it possible to set the page count for the silverlight datapager control

开发者 https://www.devze.com 2023-01-21 15:20 出处:网络
hi is it possible to set the page count for the silverlight datapager control with no itemsource for the datpager.

hi is it possible to set the page count for the silverlight datapager control with no itemsource for the datpager.

if not possible is there any other equivalent controls to use as datapager in开发者_StackOverflow silverlight


Implement the IPagedCollectionView from your code behind and you'll have access to the TotalItemCount property that will allow you to set the total number of items. You can then set the page size and what page index you are currently on. ItemCount will be the total number of itmes returned and the datapager should take care of the rest.

0

精彩评论

暂无评论...
验证码 换一张
取 消