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

ComboBox with choose one as the first option

1 Answer 43 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
scorp
Top achievements
Rank 1
scorp asked on 17 May 2011, 04:19 PM
How can I have the first item as Choose one in the combo box which is bound to a collection in the viewbag

 @(Html.Telerik().ComboBox()
                                        .Name("continents")
                                        .SelectedIndex(0)
                                        .BindTo(new SelectList(ViewBag.Continents, "ContinentID", "Name"))
                                  )

1 Answer, 1 is accepted

Sort by
0
nachid
Top achievements
Rank 1
answered on 17 May 2011, 06:14 PM
Tags
ComboBox
Asked by
scorp
Top achievements
Rank 1
Answers by
nachid
Top achievements
Rank 1
Share this question
or