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

Is it possible to Limit the panelbar to one level?

1 Answer 42 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Veteran
sitefinitysteve asked on 12 Apr 2017, 05:47 PM

The panelbar is dynamically generated in the .cshtml and some admins are entering <ul><li> items and it's causing the content zone to generated L2+ panelbar items.

 

I'd just like the ROOT to be a panelbar, and just render html in the content area.

 

Possible?

 

 

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 14 Apr 2017, 01:01 PM
Hello Steve,

I am afraid that the PanelBar considers such HTML and creates click items and there is no option for restricting the depth of the binding. My suggestion would be to make sure that such ul elements are wrapped within a container. For example within a div or span:

http://dojo.telerik.com/@nenchef/aDUzI/5


Regards,
Nencho
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
Tags
PanelBar
Asked by
sitefinitysteve
Top achievements
Rank 2
Veteran
Answers by
Nencho
Telerik team
Share this question
or