Mono 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.

Mono Support Hide Login Web Part after user logged in. 

Viewed 4531 time(s), 3 post(s). 3/8/2011 10:15:36 AMby cosmogonor
cosmogonor
1

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. 
1141 Reputation 138 Total posts
khorvat
2

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. 
11576 Reputation 1649 Total posts
imarusic
3

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. 
2094 Reputation 272 Total posts