Selecting a sub item in a panelbar

4 posts, 1 answers
  1. Jesse
    Jesse avatar
    14 posts
    Member since:
    Jul 2014

    Posted 30 Jul 2014 Link to this post

    Hello,

    Is there a way to capture the select event of a sub item in a panel bar?

    Based on the sub item selected, I want to navigate to a different page.

    Thanks for your time and help. 
  2. Answer
    Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 31 Jul 2014 Link to this post

    Hi Jesse,

    Yes, the select event is raised for all items in the PanelBar.

    Regards,
    Kamen Bundev
    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. Nisarg
    Nisarg avatar
    12 posts
    Member since:
    Dec 2014

    Posted 26 Dec 2014 in reply to Kamen Bundev Link to this post

    Hi Kamen,

    I was working with a panelbar, and I wanted to get the index of the selected item. If the selected item has a parent category then how can I get the index of that parent category?
    Is there a reliable way to do this?

    Thank you in advance,
    Nisarg
  5. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 27 Dec 2014 Link to this post

    Hello Nisarg,

    the selected item provided in the panelbar event is a DOM element - you can use the standard jQuery API to retrieve information (like its parent, its index, etc.). Please refer to the jQuery API reference for more details. 

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready