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
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Collapse]Data Editors
   [Expand]Product Information
   [Expand]Common Concepts
   [Collapse]Editor Types
    [Expand]ASPxBinaryImage
    [Expand]ASPxButton
     ASPxButtonEdit
    [Expand]ASPxCalendar
     ASPxCheckBox
     ASPxCheckBoxList
    [Expand]ASPxColorEdit
    [Collapse]ASPxComboBox
      ASPxComboBox Overview
     [Expand]Concepts
     [Collapse]Examples
       How to: Bind ASPxComboBox Manually
       How to: Bind ASPxComboBox to DateTime data
    [Expand]ASPxDateEdit
    [Expand]ASPxDropDownEdit
    [Expand]ASPxFilterControl
    [Expand]ASPxHyperLink
     ASPxImage
     ASPxLabel
    [Expand]ASPxListBox
    [Expand]ASPxMemo
    [Expand]ASPxProgressBar
     ASPxRadioButton
    [Expand]ASPxRadioButtonList
    [Expand]ASPxSpinEdit
     ASPxTextBox
     ASPxTimeEdit
    [Expand]ASPxTokenBox
    [Expand]ASPxTrackBar
     ASPxValidationSummary
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [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]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[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?​​​​​​​