MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Hide Login Web Part after user logged in.  (Mono Support )

Viewed 13315 time(s), 3 post(s) 08.03.2011 10:15:36by cosmogonor
cosmogonor

cosmogonor

08.03.2011 10:16:01
Hi

I have used login web part in the home page. I need to hide it after user logged in. how can proceed for this or shall I wait for source code.

Is there any chance to hide it without source code?.

Please look at the attached image FYI.
Dieser Inhalt wurde noch nicht bewertet. 
1176 Reputation 140 Total posts
khorvat

khorvat

08.03.2011 10:27:30
Hi,

to hide this module you need to use standard ASP.NET built-in functionality and this is not something that is MonoX specific. Ivan will provide you with a sample code soon.

Regards.
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
imarusic

imarusic

08.03.2011 10:37:19
Hi Cosmogonor,

here is the code sample:

loginModule.Visible = ! Page.User.Identity.IsAuthenticated;

Regards,
Ivan Marusic
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts