Completed
Last Updated: 23 Mar 2018 07:00 by ADMIN
Completed
Last Updated: 19 Feb 2018 15:07 by ADMIN
The fix will be available in the R1 2018 SP2 Release.
Completed
Last Updated: 21 Oct 2016 10:35 by Artem
Declined
Last Updated: 21 Mar 2014 10:49 by ADMIN
Found with JustDecompile :
 [DefaultValue(-1)]
        public int PageIndex
        {
            get
            {
                return (int)base.GetValue(RadDataPager.PageIndexProperty);
            }
            set
            {
                base.SetValue(RadDataPager.PageIndexProperty, value);
            }
        }

When binding values to PageSize and PageIndex, the default value cause erratic exceptions... 

System.ArgumentOutOfRangeException: PageIndex cannot be negative when PageSize is positive.

I actually never set negative value, it seems to be caused by your default value...

I also get this sometimes :
PageIndex can only be set to -1 when the PageSize is 0

I don't see how 0 could be a valid value in this case, and I never set it to 0, Why would I want to put -1 as PageIndex? 0 would be the right default value IMHO.

How can I make it work?