asp.net mvc 3 - Stop Menu showing on log-in page -


i developing asp.net mvc 3 application , have referenced [authorise] method show log-in on entry. although stops use of top menu (at moment standard "home "index") still visible , wish hide them log-on screen.

any appreciated.

thank in advance.

chri3

try this

@if(user.identity.isauthenticated) {  <div>code menu</div> } 

Comments

Popular posts from this blog

How can I fetch data from a web server in an android application? -

Change php variable from jquery value using ajax (same page) -

jquery - How can I dynamically add a browser tab? -