Panelbar used as Menu. Starting Node and Binding Depth

5 posts, 0 answers
  1. Jacques
    Jacques avatar
    135 posts
    Member since:
    Jun 2007

    Posted 12 Nov 2013 Link to this post

    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?
  2. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 14 Nov 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Jacques
    Jacques avatar
    135 posts
    Member since:
    Jun 2007

    Posted 14 Nov 2013 Link to this post

    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
  5. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 18 Nov 2013 Link to this post

    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!
  6. Jacques
    Jacques avatar
    135 posts
    Member since:
    Jun 2007

    Posted 18 Nov 2013 Link to this post

    Wow, ok. Thanks I guess.
Back to Top
Kendo UI is VS 2017 Ready