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

ASPxButtonEdit

  • 2 minutes to read

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

ASPxButtonEdit

ASPxButtonEdit 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 ASPxButtonEdit.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 ButtonEditProperties.Password property value to true.

  • Mask Input

    The ASPxButtonEdit control 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 the editor’s buttons are rendered.

  • Built-in Validation

    The ASPxButtonEdit control allows you to perform data validation both on the client and server side. See the 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 ASPxButtonEditBase.Buttons property in order to manage the button collection.

  • Full-Featured Client-Side API

    ASPxButtonEdit 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 ASPxButtonEdit control.