A newer version of this page is available. Switch to the current version.

ASPxClientCheckBox.SetText(text) Method

Sets the text to be displayed within the editor.


SetText(text: string): void


Name Type Description
text string

A string value specifying the text to be displayed within the editor.


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.

  • 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