Skip to main content
A newer version of this page is available. .

ASPxClientEditBase.SetCaption(caption) Method

Specifies the text displayed in the editor caption.

Declaration

SetCaption(
    caption: string
): void

Parameters

Name Type Description
caption string

A string value specifying the editor caption.

Remarks

Use the SetCaption method to specify the text displayed in the editor caption. To obtain the caption text on the client side, use the ASPxClientEditBase.GetCaption method . On the server side, the caption text can be accessed using the ASPxEditBase.Caption property.

Online Demo

Data Editors - Caption

See Also