drpcken
Posts: 60
|
Posted: 10/20/2004, 8:00 PM |
|
Well I HAD an answer to this, but now when I came back from dinner, the post isn't on the forum anymore. There were alot of answers from really great people who helped me in that post that I was going to reference tonight. From what I remember I was told to do this when hiding headers by putting this code in my BeforeShow of my page:
Dim sSecurityType as String = session("sessionSecurityType")
If sSecurityType = "Admin" Then
TopAdmin.Visible = True
TopAccounting.Visible = False
TopCounselor.Visible = False
Elseif sSecurityType = "Counselor" Then
TopAdmin.Visible = False
TopAccounting.Visible = False
TopCounselor.Visible = True
Elseif sSecurityType = "Accountant" Then
TopAdmin.Visible = False
TopAccounting.Visible = True
TopCounselor.Visible = False
End If
Everything that begins with 'Top' is a header on my page. As of right now they are the only things on the page, nothing else. This should work, however when I build I get the following errors for each visible property:
error BC30456: 'Visible' is not a member of 'TopAccounting'.
One of each for every one listed above. I know Normally you put the form name in front of, but these headers aren't in a form.
Thank you for all your help!
|