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

ComboBox functioning like textbox with Dropdownlist

2 Answers 1296 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
david
Top achievements
Rank 1
david asked on 14 Dec 2015, 08:04 PM

Hi,

 is there a way to have the combobox or textbox act like a textbox with an embedded DDL.

The use case is to allow the user to type in the control like a textbox ... but

when they click into the textbox, a dropdownlist  appears and allows them to select an item if they choose?

 

thanks

 

2 Answers, 1 is accepted

Sort by
0
david
Top achievements
Rank 1
answered on 14 Dec 2015, 08:21 PM

like this example

 

                   <input type="text" name="product" id="product" runat="server" list="productName"/>
<datalist id="productName">
    <option value="Pen">Pen</option>
    <option value="Pencil">Pencil</option>
    <option value="Paper">Paper</option>
</datalist>

0
Eyup
Telerik team
answered on 17 Dec 2015, 01:44 PM
Hi David,

I believe you are looking for something similar to this:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/autocompleteclientside/defaultcs.aspx

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ComboBox
Asked by
david
Top achievements
Rank 1
Answers by
david
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or