Hi,
I'm working on a web application that has a back office. It has 2 levels of navigation: on top, horizontally there are 6 Nav buttons; clicking on any of them, a 2-level menu will show up on the left.
Now I encountered on something odd: for users with a certain access level, if they click on the 1st button on top, the 2-level should NOT have anything available to them - therefore the left menu will be blank.
However, in this case, it just logged the user out; instead of going to a default page.
In general, can someone share some input on what could be the reason?
Below is the code behind (in MasterPage.master.cs) for what should do, when clicking on this 1st button:
protected void NavImageButton1_Click(object sender, ImageClickEventArgs e)
{
divNav1.Visible = true; // divNav1 is the ID for the left menu ...
Go to the complete details ...