PagingControl & CurrentPagingItemIndex

Vote:
 
Hi all, i'm having trouble accessing CurrentPagingItemIndex when using paging on a pagelist, it seems to be 0 all the time. I want to check which page i'm on and have put (in Page_Load) _pageNumber = myPageList.PagingControl.CurrentPagingItemIndex; but the result is always 0 (zero). I can access MaxCount aso on the pagelist just fine. Any ideas? Regards /Måns
#15961
Mar 25, 2008 19:07
Vote:
 
Sorry about the double posting, accidently reposted when episerver.com was down last friday. Anyways, anybody who have tried to grab CurrentPagingItemIndex from a pagelist and who wants to share?
#16699
Mar 25, 2008 19:15
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.