Get subitems in js code

2 posts, 0 answers
  1. Joseph
    Joseph avatar
    21 posts
    Member since:
    Mar 2013

    Posted 08 Jul 2013 Link to this post

    Hi guys

    I am trying to access a menu item in javascript using get_items but I am getting the parent items only. The subitems are not listed. What can I do?
    Please help
    Joseph
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Jul 2013 Link to this post

    Hi Joseph,

    Try menu1.get_allItems() instead of get_items() which return only the root items.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top