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

Panelbar used as Menu. Starting Node and Binding Depth

4 Answers 65 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Jacques
Top achievements
Rank 2
Jacques asked on 12 Nov 2013, 08:00 AM
I know Kendo's panelBar can bind to a Sitemap file as shown on the following page:http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/helpers/panelbar/overview, but what I can't figure out is whether or not it's possible to apply settings like starting level/node or binding depth.

What I'm looking for is something that will allow me to specify the Starting Level and perhaps Max Depth or something along those lines.

Is this possible?

4 Answers, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 14 Nov 2013, 09:30 AM
Hello Jacques,

I am afraid the the PanelBar does not support such configuration as Starting Level or Max Depth when binding to Sitemap. You will need to either modify your SiteMap or load the items that you want(needed to be displayed) in a separate collection of SiteMapNodes and pass it to the PanelBar so it operates and displays your newly created collection.

I am sorry for any inconvenience caused.

Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jacques
Top achievements
Rank 2
answered on 15 Nov 2013, 05:30 AM
Thanks Petur, 

Do you have an example of how I would do this in MVC? I'd like to use the panel bar because there are some additional requirements that make using it a good choice. 

Regards,
Jacques
0
Petur Subev
Telerik team
answered on 18 Nov 2013, 08:19 AM
Hello again,

I am afraid that we do not have such example that demonstrates what you asked for.

Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jacques
Top achievements
Rank 2
answered on 18 Nov 2013, 02:20 PM
Wow, ok. Thanks I guess.
Tags
PanelBar
Asked by
Jacques
Top achievements
Rank 2
Answers by
Petur Subev
Telerik team
Jacques
Top achievements
Rank 2
Share this question
or