This is a migrated thread and some comments may be shown as answers.
Panelbar as a template item
2 Answers 40 Views
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 10 Jul 2009, 03:35 PM
I have a Panelbar that loads items templates on the fly.

I want to be able to have a user control that contains a panelbar as one of my potential (top level) panelbar templates.

I've tried it, but I can't get the inner panelbar to open.

Has anyone used a paenlbar as a template item?

--
Stuart

2 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 13 Jul 2009, 05:41 AM
Hi Stuart,

Unfortunately, you cannot have nested panelbars. This is by design. When nesting panelbars the CSS rule from the outer panelbar propagate to the inner one. By the way RadPanelBar supports hierarchy without the need to embed panelbars. Just add more child items to created nested levels.

Best wishes,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Stuart Hemming
Top achievements
Rank 2
answered on 13 Jul 2009, 08:54 AM
Paul,

Thanks for that. Not the answer I was hoping for, but it was the one I suspected I might get.

Just adding levels to my PanelBar isn't really an option as  - as I've pointed out - the content of the PanelItems comes from user controls, selected and loaded at run-time.

--
Stuart
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Paul
Telerik team
Stuart Hemming
Top achievements
Rank 2
Share this question
or