Try our conversational search powered by Generative AI!

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
Jan 11, 2008 14:47
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
Jan 15, 2008 16:00
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.