Paging for RadPanelbar

5 posts, 1 answers
  1. Robin
    Robin avatar
    41 posts
    Member since:
    Sep 2012

    Posted 03 Jun 2013 Link to this post

    Hello, 
    Is there a way to enable paging for RadPanelbar.
    I tried adding RadDataPager and used RadPanelbar ID as "PagedControlID", but it didn't work.
    Because of requirement, I can't wrap it with div and allow scrolling.

    Thanks in advanced.
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 04 Jun 2013 Link to this post

    Hi Robin,

    Currently the RadPanelBar control does not support paging. I would suggest, however, that you try using the ItemTemplate or the Header and Content Templates of the control where you can place you desired controls. You can also refer to our on-line demos for a runnable examples.

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Robin
    Robin avatar
    41 posts
    Member since:
    Sep 2012

    Posted 04 Jun 2013 Link to this post

    Thanks for the reply, Kate.

    I just checked your suggested demo, but I still got no idea how can I implement paging by using templates.
    Can you explain more details? Which controls should use?

    My project requirement is as follow.
    I have about 50 (or more) of parent panel items and each panel items have only one child item.
    Parent panel items are for Stock_Code and child panel items are for Short_Description.
    When the page was loaded, all stock codes ill show as panel items. Then, user have to expend desired item to see description.
    Because of size restriction, I can't show more than 5 panel items at a time and that's why I need paging.

    Thanks in advanced.

  5. Answer
    Kate
    Admin
    Kate avatar
    1898 posts

    Posted 04 Jun 2013 Link to this post

    Hello Robin,

    Thanks for clarifying that. Unfortunately with the current implementation of the RadPanelBar control the functionality that you are trying to achieve is not supported. Did you try using the RadListView control as I believe would be more suitable to accommodate the scenario that you are trying to get? Below you can find few very interesting demos that I believe would be helpful in your case:

    http://demos.telerik.com/aspnet-ajax/listview/examples/filtering/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/listview/examples/paging/integratedpaging/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/listview/examples/client/appendingdata/defaultcs.aspx

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Robin
    Robin avatar
    41 posts
    Member since:
    Sep 2012

    Posted 04 Jun 2013 Link to this post

    Thanks again for your reply, Kate.

    I know that the purpose of RadPanelBar is not for displaying information like this, but to behave as links or menus.
    But I have only 400 x 350 px of display area available and that's why I'm trying to use this.
    It is perfect if I don't have more than 5 items :(
    Looks like I need to use listview or something else to fulfill the requirement.

    Thanks for the support.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017