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 )

13398 put(a) pogledan, 3 odgovor(a) 8.3.2011. 10:15:36Kreirao(la) cosmogonor
cosmogonor

cosmogonor

8.3.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.
Ovaj sadržaj još nije ocijenjen. 
1176 Reputacija 140 Ukupno objava
khorvat

khorvat

8.3.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.
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
imarusic

imarusic

8.3.2011. 10:37:19
Hi Cosmogonor,

here is the code sample:

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

Regards,
Ivan Marusic
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava