Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Menu tree #2398


User avatar
0
huntethan89 created

Hi, I am creating a menu tree as shown below.

->Main menu -> menu 1 -> menu 2 -> menu 3 -> sub menu 3a -> sub menu 3b -> sub menu 3c

When i click on menu 2 it is working fine showing selected menu 2. But when i select submenu (eg. sub menu 3a) it hides all menus and showing only Main menu as shown in fig.

-> Main menu

How to show selected sub menu (full tree view).

Thanks


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Which version of AspNet Zero do you use ?

    Thanks.

  • User Avatar
    0
    huntethan89 created

    Hi, i am using 1.0.0.0 version.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Have you seen this issue ? <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/108">https://github.com/aspnetzero/aspnet-zero/issues/108</a>

    If you are using MPA version, you can apply this solution.

  • User Avatar
    0
    huntethan89 created

    Hi,

    I checked the link you provided. I had added the class and method in Mpanvagation class. But where to call this method.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can see changes here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/commit/9ef28febd0e698c7a5a8e5847ae3dbae52927d0a">https://github.com/aspnetzero/aspnet-ze ... ae52927d0a</a>.