CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Hiding headers

Print topic Send  topic

Author Message
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!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.