RadDataPager Ellipses Not Consistent

7 posts, 0 answers
  1. Josh
    Josh avatar
    4 posts
    Member since:
    Sep 2011

    Posted 23 Oct 2012 Link to this post

    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
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 24 Oct 2012 Link to this post

    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.

  3. DevCraft banner
  4. Josh
    Josh avatar
    4 posts
    Member since:
    Sep 2011

    Posted 24 Oct 2012 Link to this post

    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.
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 24 Oct 2012 Link to this post

    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.

  6. Josh
    Josh avatar
    4 posts
    Member since:
    Sep 2011

    Posted 24 Oct 2012 Link to this post

    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.
  7. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 25 Oct 2012 Link to this post

    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.

  8. Josh
    Josh avatar
    4 posts
    Member since:
    Sep 2011

    Posted 25 Oct 2012 Link to this post

    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
Back to Top
DevCraft banner