This is a migrated thread and some comments may be shown as answers.

[Solved] Default Value

1 Answer 1388 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 04 Nov 2014, 10:37 PM
I have a dropdownlist that is loading content from DB.  When it loads, it automatically defaults to the first item in the list.  Is it possible for it to default to a blank value?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 06 Nov 2014, 12:32 PM
Hello James,

The DropDownList widget is designed to always have a selected item. This is how the HTML Select element works. If you would like to show blank item, then you can set an optionLabel option. Another option is to use the ComboBox widget.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
James
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or