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

ButtonEdit Main Features

  • 2 minutes to read

The ButtonEdit extension represents a text box editor that allows one or more buttons to be displayed within its client region.

ASPxButtonEdit

The ButtonEdit offers the following features.

  • Null Prompt Text

    The prompt text can be displayed if the editor’s value is null and the editor is not focused. The prompt text disappears when the editor receives focus. You can define the prompt text via the ButtonEditSettings.Properties.NullText (ButtonEditProperties.NullText) property.

  • Mask Password Input

    You can treat the input as a password, so the characters entered into the editor are masked. To enable this functionality, set the ButtonEditSettings.Properties.Password (ButtonEditProperties.Password) property value to true.

  • Mask Input

    The ButtonEdit extension allows you to use masks during editing. See the Mask Editing topic to learn more.

  • Button Templates

    You can create a template that defines the common manner in which all editor buttons are rendered.

  • Built-in Validation

    The ButtonEdit extension allows you to perform data validation both on the client and server side. See the Built-in Validation topic to learn more.

  • Customizable Button Layout and Look-and-Feel

    Each button can display text, an image, or both. You can control the button’s visibility, availability to end-users and position within the editor’s text box. You can use the ButtonEditSettings.Properties.Buttons (ButtonEditPropertiesBase.Buttons) property in order to manage the button collection.

    You can customize the extension appearance using predefined built-in visual themes. See this topic to learn more: Applying Themes

  • Full-Featured Client-Side API

    The ButtonEdit provides you with a comprehensive client-side API. This API is implemented using JavaScript and is exposed via the ASPxClientButtonEdit object. The ASPxClientButtonEdit object serves as the client-side equivalent of the ButtonEdit extension.