brad
Posts: 2
|
Posted: 10/15/2009, 11:21 AM |
|
I'm trying to hide a Logout link on my header if there is no User logged in. I've tried putting the below code into several places - but the link never hides? Any thoughts?
==my code in Header_events.asp==
Function Header_lnkLogout_BeforeShow(Sender) 'Header_lnkLogout_BeforeShow @16-C89902CF
'Custom Code @19-73254650
' -------------------------
' Write your own code here.
' -------------------------
If IsEmpty(Session("UserID")) Then
header.lnkLogout.Visible = False
End If
'End Custom Code
|
|
|
brad
Posts: 2
|
Posted: 10/15/2009, 2:55 PM |
|
Resolved.
Argh, I forgot to set the Visible property to Dynamic for my link.
Thank you Yes support!
|
|
|
|