This is a migrated thread and some comments may be shown as answers.

RadDataPager Ellipses Not Consistent

6 Answers 17 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 23 Oct 2012, 08:49 PM
Hi,

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

Sort by
0
Dimitrina
Telerik team
answered on 24 Oct 2012, 01:28 PM
Hi Josh,

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.

0
Josh
Top achievements
Rank 1
answered on 24 Oct 2012, 01:33 PM
Hi Didie.

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.
0
Dimitrina
Telerik team
answered on 24 Oct 2012, 01:58 PM
Hi,

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.

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Josh
Top achievements
Rank 1
answered on 24 Oct 2012, 02:13 PM
Hi,

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.
0
Dimitrina
Telerik team
answered on 25 Oct 2012, 08:38 AM
Hi,

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.  

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Josh
Top achievements
Rank 1
answered on 25 Oct 2012, 12:58 PM
Hi,

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
Tags
DataPager
Asked by
Josh
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Josh
Top achievements
Rank 1
Share this question
or