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

combobox selected item

0 Answers 55 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.
Lee
Top achievements
Rank 1
Lee asked on 14 Jan 2013, 11:49 PM
Hi,

I have the following code:
@(Html.Telerik().ComboBox()
                .Name("cmb")
                .BindTo((IEnumerable<DropDownItem>)ViewData["Country"])
                .HtmlAttributes(new { style = "width:400px; white-space:nowrap;font-size: 10px;" })
                        .ClientEvents(events => events
                                .OnChange("cmb_Onchange"))
                        
                )

I'd like to know how I can get the combobox to display the country name when the users enter a country id in a text box?  I'd like to do this in javascript.  Thanks for your help!
Tags
ComboBox
Asked by
Lee
Top achievements
Rank 1
Share this question
or