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

Paging for RadPanelbar

4 Answers 34 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Robin
Top achievements
Rank 2
Robin asked on 04 Jun 2013, 03:29 AM
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.

4 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 04 Jun 2013, 08:49 AM
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.
0
Robin
Top achievements
Rank 2
answered on 04 Jun 2013, 09:19 AM
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.

0
Accepted
Kate
Telerik team
answered on 04 Jun 2013, 10:40 AM
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.
0
Robin
Top achievements
Rank 2
answered on 04 Jun 2013, 11:00 AM
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.
Tags
PanelBar
Asked by
Robin
Top achievements
Rank 2
Answers by
Kate
Telerik team
Robin
Top achievements
Rank 2
Share this question
or