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

[Solved] Cannot select items from combox box

1 Answer 103 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.
ronald
Top achievements
Rank 1
ronald asked on 03 Apr 2012, 10:59 AM
Hi,

I'm trying to implement the comboboxfor as follow:
@(Html.Telerik().ComboBoxFor(model => model.DestinationId)
            .AutoFill(true)
            .HighlightFirstMatch(true)
            .DataBinding(binding => binding.Ajax().Select("GetDestFilterCityByKeyword", "Member"))

I managed to populate the list but does not allow me to select from the list.  Also, I need to show the city name but at the same time I need to bind the destinationId as this is Id will stored in the database.

any ideas?

1 Answer, 1 is accepted

Sort by
0
František
Top achievements
Rank 1
answered on 12 Apr 2012, 12:14 PM
Hello.
Is you ComboBox populated with data? Or it is empty and does not  even open whan you click it?
Did you checked output HTML for JS errors(i.e. in FireBook)?
Also check if you don't have two DropDowns with the same name on the page.

Hope it helps.
F.
Tags
ComboBox
Asked by
ronald
Top achievements
Rank 1
Answers by
František
Top achievements
Rank 1
Share this question
or