Log In
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [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]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Collapse]Data Editors
   [Expand]Product Information
   [Expand]Common Concepts
   [Collapse]Editor Types
      ASPxComboBox Overview
      Incremental Filtering of ASPxComboBox
     [Expand]Item Loading Modes
       How to: Bind ASPxComboBox Manually
       How to: Bind ASPxComboBox to DateTime data
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [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]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

How to: Bind ASPxComboBox to DateTime data

The type of the ASPxComboBox value is determined by the ASPxComboBox.ValueType property. This property cannot have the System.DateTime value: this value type is not supported by the control. In general, we recommend using the ASPxDateEdit component for displaying dates. However, there are cases when it is not suitable. For example, it is required that you let an end-user chose one of several predefined dates as the combo box value. In such cases, the following approaches can be used.

If the combo box is used inside the ASPxGridView (as an editor inside a template or via the GridViewDataComboBoxColumn), use unbound columns and apply one of the above approaches.

Expanded See Also

Is this topic helpful?​​​​​​​