ASPxClientCheckBox.SetText(text) Method
Sets the text to be displayed within the editor.
Declaration
SetText(
text: string
): void
Parameters
Name | Type | Description |
---|---|---|
text | string | A string value specifying the text to be displayed within the editor. |
Remarks
The ASPxClientCheckBox.GetText method is useful to obtain the text from the editor. Use the ASPxCheckBox.Text property to specify the editor’s text on the server.
Note
- If the ASPxCheckBox.Text property is empty, a text element markup is not rendered. In this case, it is impossible to set a text on the client side using the SetText method.
- The SetText method does not HTML encode the specified text.
See Also