I'm using your DataPager and I'm noticing that the behavior of the ellipses isn't consistent. Say I have the pager below:
< ... 5 6 7 ... >
If the left ellipsis is clicked, the pager moves to page 4, which works as I would think it would work. If the right ellipses is clicked, it moves to page 9. I would expect this to move to page 8. I tried this in your silverlight demos to make it wasn't an issue with anything I have, and the demos behave the same way.
Is this already a known issue?
Thanks,
Josh Schanke
6 Answers, 1 is accepted
Would you please share the link to the exact demo where you have reproduced the issue?
All the best,Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
I saw it here: http://demos.telerik.com/silverlight/#DataPager/FirstLook.
Clicking on the right ellipsis when on page 1 when correctly to page 10, but clicking on it again goes to 15, when the right-most number is 13. Is there a way to specify how many pages the ellipsis moves the page number?
EDIT: Mixed up left and right.
Thank you for clarifying.
I have checked the case in details and I must say that this would be the expected behaviour. The logic is that this (the selected page number) is the 10th after the first in the list of shown page numbers. For example:
1. You have 1-9 (Selected 1)
2. You have 6-13 (Selected 10)
3. You have 11-18 (Selected 15)
etc.
You can check that the MS DataPager does the same.
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
If that's the intended behavior, is there any way to specify how many pages the ellipses move the page number?
If I have a pager showing pages 8, 9 and 10, clicking on the right ellipsis goes to page 7 but the right ellipsis goes to page 12. This seems like a very weird and inconsistent behavior. You can reproduce this by using a NumericButtonCount of 5 and going to page 10 or so.
This is the intended behaviour. We have implement this logic as the MS DataPager does, so that to be compatible with it. You can also note that the difference between 7 and 12 is 5.
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
Thanks for the help. This still seems like very weird and inconsistent behavior to me. I guess I can ignore this issue if the MS DataPager behaves the same way.
The difference between 7 and 12 shouldn't matter. In my (and the rest of my team's) mind the ellipses should do the exact same thing, not skip an extra page for the right ellipsis.
Thanks,
,
Josh