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?
|
|
|
 |
|