HtmlEditorCustomDialog.DefaultButtonID Property

Gets or sets the dialog button that is focused by default.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v20.1.dll


public string DefaultButtonID { get; set; }
Public Property DefaultButtonID As String

Property Value

Type Default Description


A String value which identifies the dialog button to be focused by default.


If the custom dialog displays both dialog buttons, use the DefaultButtonID property to specify which one will be focused by default. Values include:

Value Dialog Button
Ok The Ok button.
Cancel The Cancel button.

To control the visibility of dialog buttons, use the HtmlEditorCustomDialog.OkButtonVisible and HtmlEditorCustomDialog.CancelButtonVisible properties.

See Also