Editable DropDownList in ASP.NET
Similar to the ComboBox control in Windows Form, Andy made an awesome ComboBox control long times ago for ASP.NET - Yes, no such control in ASP.NET Server Control Collection, and we have to use some JavaScript and/or add a “ArrowDown” image next to a TextBox to stimulate this normally.
Features:
- ListItem Value Retrieval - The Combobox value is now mapped to the ListItem (Option) value attribute
- Auto Validation - You can now specify the Combobox to validate text entered by the user against the text in the ListItems.
- Text Field
OnChange
Event - The text field's onchange event is bubbled up to the Combobox control. - Z-Indexing - The drop down arrow will no longer over lap other HTML elements
- DataBinding support in Designer Mode
- Visual distinction from HTML Select element
- Positioning (Bug Fix) - Combobox now displays correctly when printed or absolutely positioned.
- First Item Selection (Bug Fix) - You can now select the first item in the drop down.