I use RadPanelBars for the organization of structure of web page.
RadPanelBars and RadPanelItems are added dinamically.
Sometimes I need to add RadPanelBars inside another one. But internal RadPanelBars behaves in a different way. They look differently and they are not collapsible.
I try your hint and it works for the Click Event, but I have an other problem or question!
If I want to use an other Skin (other then Default) and set the Skin Properties of the RadPanels (Root and Embedded) the Root RadPanel takes the skin but the embedded one not.
Is there a workaround or solution to do this?
answered on 18 Dec 2008, 01:09 PM
Unfortunately, you cannot have nested panelbars with different skins. This is by design. When nesting panelbars with different skin 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.
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Has there been any resolution of this item? I am facing a similar issue, I am binding user controls to a PanelBar dynamically, and some of those user controls contain other RadPanelBars. I have applied the fix above in OnClientClicking and the inner panel items expand and collapse correctly.
However, the item headers display in plain orange, even though I have not modified the skin. The skin for all Panel Bars is defined in a Theme. Why do the inner panel bars not show with the correct skin?
answered on 05 Dec 2011, 02:41 PM
Unfortunately nesting a RadPanelBar control in another panelbar is not a supported scenario. However, RadPanelBar supports multi hierarchy with expand and collapse functionality to all items in it and most of the general cases could be achieved with this functionality and some custom CSS to get the desired look.
the Telerik team
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