<h1>
    ComboBox with Numbers and Dates
</h1>

<p>
    You can use ComboBoxes to select from lists of numbers:
</p>
<label for="theComboNumber">Select a number:</label>
@Html.C1().ComboBox().Id("theComboNumber")
<p>
    You have selected this value: <b id="theComboNumberValue"></b>.
</p>

<p>
    You can use ComboBoxes to select from lists of dates.
    In this case, we use the <b>formatItem</b> event to
    format the date objects using C1 MVC's <b>Globalize</b>
    class:
</p>
<label for="theComboDate">Select a date:</label>
@Html.C1().ComboBox().Id("theComboDate")
<p>
    You have selected this date: <b id="theComboDateValue"></b>.
</p>