ASPxClientEdit.SetReadOnly(readOnly) Method
Specifies whether the control’s state is read-only on the client side.
Declaration
SetReadOnly(
readOnly: boolean
): void
Parameters
Name | Type | Description |
---|---|---|
readOnly | boolean | true, to make the control read-only on the client side; otherwise, false. |
Remarks
Use the SetReadOnly method to dynamically change a control’s read-only state on the client. The initial Read Only state of an editor can be defined using its ASPxEdit.ClientReadOnly server property. To obtain the current control’s status on the client, use the ASPxClientEdit.GetReadOnly method.
See Also