CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Custom Security

Print topic Send  topic

Author Message
loem
Posted: 09/16/2002, 11:53 PM

I'm having problems with custom security using CCS.
What I need is a value that's displayed as a label for normal users but as a text-box for admin's.

I've tried a couple of approuched.
1)
Like in the article (http://www.gotocode.com/art.asp?art_id=56& "Two approaches to field level security" By Wake)(Setting value of label with type html to
"<input name=lblTEST value=" . $this->lblTest->GetValue() . ">"
2)
Defining label and textbox and setting visibility to True or False.
Call in the AfterInitialise


Any suggestions appriciated.

Maurits
loem
Posted: 09/17/2002, 2:22 AM

As an extra note:
Setting the visible property to false didn't change anything.
Running it through a debugger I noticed that the value was set to false but nothing happened/changed.

Is there something special I need to do when using/setting visible=false with controls/pages?

   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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