Mono Support Hide Login Web Part after user logged in. 

Viewed 13946 time(s), 3 post(s), 3/8/2011 10:15:36 AM - by cosmogonor
3/8/2011 10:16:01 AM
1176 Reputation 140 Total posts

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.

1
3/8/2011 10:27:30 AM
15993 Reputation 2214 Total posts

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.

2
3/8/2011 10:37:19 AM
3016 Reputation 428 Total posts

Hi Cosmogonor,

here is the code sample:

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

Regards,
Ivan Marusic

3
This is a demo site for MonoX. Please visit Mono Software for more info.