duplo1
Posts: 67
|
Posted: 05/04/2009, 9:59 AM |
|
Hi there,
For an ASP.net C# Inmotion project I need to program the following. If a user is already logged in then I need to hide the LOGIN Form.
Could someone please show me how to do that ????
Thank you !
Christoph
|
|
|
duplo1
Posts: 67
|
Posted: 05/05/2009, 9:51 AM |
|
I found the solution myself as follows:
if (Session["UserID"] == null )
((Record)sender).Visible = true;
else ((Record)sender).Visible = false;
Christoph
|
|
|
duplo1
Posts: 67
|
Posted: 05/05/2009, 9:52 AM |
|
sorry, it has to be added to the BEFORE SHOW events.
|
|
|
|