Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Collapse]Data Editors
   [Expand]Product Information
   [Expand]Common Concepts
   [Collapse]Editor Types
    [Expand]ASPxBinaryImage
    [Expand]ASPxButton
    [Expand]ASPxButtonEdit
    [Expand]ASPxCalendar
    [Expand]ASPxCheckBox
    [Expand]ASPxCheckBoxList
    [Expand]ASPxColorEdit
    [Expand]ASPxComboBox
    [Expand]ASPxDateEdit
    [Collapse]ASPxDropDownEdit
      ASPxDropDownEdit Overview
     [Expand]Visual Elements
    [Expand]ASPxFilterControl
    [Expand]ASPxHyperLink
    [Expand]ASPxImage
    [Expand]ASPxLabel
    [Expand]ASPxListBox
    [Expand]ASPxMemo
    [Expand]ASPxProgressBar
    [Expand]ASPxRadioButton
    [Expand]ASPxRadioButtonList
    [Expand]ASPxSpinEdit
    [Expand]ASPxTextBox
    [Expand]ASPxTimeEdit
    [Expand]ASPxTokenBox
    [Expand]ASPxTrackBar
    [Expand]ASPxValidationSummary
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ASPxDropDownEdit Overview

The ASPxDropDownEdit represents an editor containing an edit box to display the editor value and a specific button, that opens a dropdown window whose content can be templated. The main purpose of the ASPxDropDownEdit is to allow you to define its value based upon the value(s) of other control(s) integrated into the editor's DropDownWindowTemplate.

The image below demonstrates the ASPxDropDownEdit control that contains the ASPxListBox and the ASPxButton controls templated into the ASPxDropDownWindow.

ASPxDropDownEdit offers following features:

  • Templated Content

    The dropdown window's content can be templated (using the ASPxDropDownEdit.DropDownWindowTemplate property).

  • Null Prompt Text

    You can use editor's ASPxDropDownEdit.NullText property to display a prompt in the editor's edit box. 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. You can use the Buttons property to populate button collection.

  • Built-in Validation

    The ASPxDropDownEdit control allows you 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.

  • Full-Featured Client-Side API

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

    You can operate with the editor values using the following methods.

    Method Description
    ASPxClientDropDownEdit.GetKeyValue Obtains the key value associated with the text displayed within the editor's edit box.
    ASPxClientDropDownEdit.SetKeyValue Specifies the key value associated with the text displayed within the editor's edit box.
    ASPxClientDropDownEditBase.HideDropDown Closes the opened drop down window of the editor.
    ASPxClientDropDownEditBase.ShowDropDown Invokes the editor's drop down window.

Expanded See Also

How would you rate this topic?​​​​​​​