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
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?
_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