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
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.
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.