Back to Devexpress

BootstrapClientButton.SetText(value) Method

aspnetbootstrap-js-bootstrapclientbutton-dot-settext-x28-value-x29.md

latest950 B
Original Source

BootstrapClientButton.SetText(value) Method

Sets the text to be displayed within the button.

Declaration

ts
SetText(
    value: string
): void

Parameters

NameTypeDescription
valuestring

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

|

Remarks

Note

If the ASPxButton.Text property is empty and a button image is specified, 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.

See Also

GetText

EnableClientSideAPI

Button

BootstrapClientButton Class

BootstrapClientButton Members