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 12769 time(s), 3 post(s) 3/8/2011 10:15:36 AMby cosmogonor
cosmogonor

cosmogonor

3/8/2011 10:16:01 AM
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.
This content has not been rated yet. 
1176 Reputation 140 Total posts
khorvat

khorvat

3/8/2011 10:27:30 AM
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.
This content has not been rated yet. 
15993 Reputation 2214 Total posts
imarusic

imarusic

3/8/2011 10:37:19 AM
Hi Cosmogonor,

here is the code sample:

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

Regards,
Ivan Marusic
This content has not been rated yet. 
3016 Reputation 428 Total posts