Back to Devexpress

ASPxClientCheckBox.SetText(text) Method

aspnet-js-aspxclientcheckbox-dot-settext-x28-text-x29.md

latest1.1 KB
Original Source

ASPxClientCheckBox.SetText(text) Method

Sets the text to be displayed within the editor.

Declaration

ts
SetText(
    text: string
): void

Parameters

NameTypeDescription
textstring

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

GetText

Text

Check Box

ASPxClientCheckBox Class

ASPxClientCheckBox Members