fmb
|
Posted: 11/02/2003, 12:38 PM |
|
In CCS is it possible to disable controls such as a textbox programmatically. For example, if atextbox called "Status" has a value of "billed", I want it to be disabled. I'm programming in ASP. I see a visible property in the documentation, but not a property to make it read only.
|
|
|
ryan
|
Posted: 11/02/2003, 3:25 PM |
|
can you instead add a READONLY/DISABLED on the textbox
since u r custom programming can you try
'on before show event of textbox on the grid
dim ifreadonly
IF urformname.Status.value = "billed" THEN
ifreadonly = "READONLY"
ELSE
ifreadonly = ""
END IF
HTMLTemplate.Setvar "@ifreadonly",ifreadonly
Then on ur html you assign ur template variable 'ifreadonly'
<input size="30" maxlength="50" value="{StatusValue}" {ifreadonly} />
:)
|
|
|
fmb
|
Posted: 11/02/2003, 4:59 PM |
|
thanks!!!!!
|
|
|
|