Solved

Hide Menu on Master Page

Posted on 2008-10-10
2
906 Views
Last Modified: 2008-10-10
I am using Visual Web Developer 2008 Express.

I have a Menu on my Master Page. By default, a login page is displayed when the site is opened. I want to know how to hide the Menu on the Master Page when the Login Page is opened. When the Login is successful, then the Menu must appear.
0
Comment
Question by:rpkhare
2 Comments
 
LVL 20

Assisted Solution

by:informaniac
informaniac earned 20 total points
ID: 22685365
Don't create the login page using the masterpage.

Once the user logs in redirect to the page that uses masterpage.
0
 
LVL 8

Accepted Solution

by:
tiagosalgado earned 30 total points
ID: 22685575
Or if you realy want to use MasterPage in login page, and if you use the ASP.NET Menu, u can do something like this in your content page
Menu m = Master.FindControl("Menu1") as Menu;

if (m != null)

{

m.Visible = false;

}

Open in new window

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now