Pagination for listbox items / wrappanel

6 posts, 0 answers
  1. Delilah
    Delilah avatar
    6 posts
    Member since:
    Jan 2013

    Posted 27 Feb 2013 Link to this post

    Is it possible to use the pagination control for listbox items...
    For example.. something looks like the following:
    [][][][]
    [][][][]
    [][][][]
    < --- >
  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 01 Mar 2013 Link to this post

    Hi Delilah,

    Thank you for your question.

    RadPaginationControl can be used with controls which implement the IPageProvider interface. RadSlideView implements this interface and this is why you can easily use these two controls together. If you want to use our pagination control for different purposes, you can create your own control (which can inherit from RadDataBoundListBox, for example) and implement the IPageProvider interface.

    I hope this information helps. Let me know if you need additional assistance.

    Kind regards,
    Todor
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. Delilah
    Delilah avatar
    6 posts
    Member since:
    Jan 2013

    Posted 01 Mar 2013 Link to this post

    Would it be possible to get a full example of how this would work?
  5. Todor
    Admin
    Todor avatar
    778 posts

    Posted 05 Mar 2013 Link to this post

    Hello Delilah,

    I have attached an example with inheriting RadDataBoundListBox in order to use it with RadPaginationControl.

    Regards,
    Todor
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  6. Delilah
    Delilah avatar
    6 posts
    Member since:
    Jan 2013

    Posted 05 Mar 2013 Link to this post

    Wow this is a great example. However, I am using the listBox Control.
  7. Todor
    Admin
    Todor avatar
    778 posts

    Posted 06 Mar 2013 Link to this post

    Hi Delilah,

    You can easily replace the ListBox control with our RadDataBoundListBox in your project and most probably improve your performance. In case you don't want to integrate it, let us know if you experience any difficulties while applying the same approach from the example to the ListBox control that you want to use.

    Greetings,
    Todor
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top
DevCraft banner