Disables one or more controls on the specific page if enabled by default.
Smartcode
Syntax
DisableControl(controlname)
Parameters
controlname(Required) – To get the name of the control to be disabled
- String – A-Z, 0-9, Special character (_)
- Length – 50 Characters
Example
Example:DisableControl (‘TextBox_1’)
Directcode
Syntax
Orefuncs.SetDisable(“<<ctrlname>>”,this.state)
Parameters
- controlName(Required) – To find control name
- state-this.state(Required) – To get and update the value of the control
Example
Orefuncs.SetDisable(“TextBox_1”,this.state)