A DevExpress drop-down editor, which is represented by the ASPxDropDownEdit control, contains an edit box to display the editor value and a specific button, which opens a dropdown window whose content can be templated.
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.
Customizable Button Collection
The ASPxDropDownEdit control provides a collection to maintain its custom edit buttons. Each button exposes a set of properties allowing the button's appearance and behavior to be defined. The settings of the default button, which invokes the drop-down window when clicked, can be customized as well.
The ASPxDropDownEdit control provides a powerful and seamless way to perform data validation both on the client and server side. You can specify an editor value as essential, validate it based on a regular expression, or implement a custom validation. If an editor fails validation logic, an error message can be displayed.
Rich Client-Side Functionality
The ASPxDropDownEdit control provides rich client-side API functionality. The main operations that you can perform on the client side are listed below.
- Get access to the editor's text and value.
- Respond to the editor's text and value changes.
- Show and hide the drop-down window of the editor.
- Respond to showing and hiding the drop-down window.
- Manipulate an editor's availability and visibility.
- Move input focus to an editor and respond to focus getting and leaving.
- Respond to key down, press, and up actions.
- Perform editor validation and respond to this action.