Multilevel Dynamic menus not working for users roles other than Admin

Last post 01-13-2009 9:50 AM by jerryleei. 3 replies.

Sort Posts:

  • Multilevel Dynamic menus not working for users roles other than Admin

    01-12-2009, 3:02 PM
    • Member
      point Member
    • jerryleei
    • Member since 01-12-2009, 2:48 PM
    • Posts 4

    I am very new to ASP.NET.  I have created a website and I am using the default Membership using Visual Web Developer 2008 Express.  I have three Master pages.  One for "Guest" members, one for "Student" members and one for "Admin" members.  I have 5 users created and have assigned them the roles of either "Admin" or "Student".  On my main navigation menu, I have one option that allows the users to go 4 levels deep into submenus.  However, if I am logged in as a user with a role of "Student", I cannot select anything past the first submenu.  If I am logged is as a user with a role of "Admin", I can acces any items off of amy submenus.  I don't know why my submenus won't work past the first submenu if the user is not assigned the role of "Admin".  I have even copied the entire code for the menu control from the Admin master page to the Student master page and it still won't work correctly.  When a user is logged in and has a role of Admin, they are taken to the home page for Admin.  If I manually type in the address to the Student home page, the submenus on the Student home page will work correctly for and "Admin" user role.  HELP!  Very frustrating and has taken up a lot of time.

     

  • Re: Multilevel Dynamic menus not working for users roles other than Admin

    01-13-2009, 5:56 AM
    • All-Star
      16,943 point All-Star
    • Dave Sussman
    • Member since 06-17-2002, 11:53 AM
    • UK
    • Posts 2,345
    • ASPInsiders
      TrustedFriends-MVPs

    Can you please post your site map and authorization rules, so we can try and work out what the problem is.

  • Re: Multilevel Dynamic menus not working for users roles other than Admin

    01-13-2009, 9:42 AM
    Answer
    • Member
      point Member
    • jerryleei
    • Member since 01-12-2009, 2:48 PM
    • Posts 4

    Thans for your reply.  Last night, I was looking at my page and saw that I had a table that extended all the way down the page as far as my menu extended.  It was this table that was preventing my menu from working correctly.  I shortened the table to only be about half way down my navigation menu on the left and the menu items that have submenus at the bottom began working.  I'm thinking this has to do with the z-index of my navigation menu compared to my table.  I'm assuming that when my cursor moved over to the submenu area, that it thought it was moving over the table and thus the menu would stop working.  I'll play with it some more and see if that's the case.  Again, thank you for responding.  I do appreciate it!!!

     

  • Re: Multilevel Dynamic menus not working for users roles other than Admin

    01-13-2009, 9:50 AM
    Answer
    • Member
      point Member
    • jerryleei
    • Member since 01-12-2009, 2:48 PM
    • Posts 4

    It was the z-index setting.  The table had a higher z-index than the menu.  Set the menu with a higher z-index and everything works fine.

     

Page 1 of 1 (4 items)