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

Rad Combobox Problem

1 Answer 63 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Prasad
Top achievements
Rank 1
Prasad asked on 08 Sep 2010, 12:26 PM
Hi All,

I am using Radcombobox for my application and I am facing the following problem i.e., when the user inputs data in the combobox it should only allow type those values/data which are present in the combobox items and it should restrict the user in inputting the text/data which doesn't match with the dropdown list values .

Example: Take suppose i have already 4 values in the dropdownlist namely 1)Sanfrancisco 2)Newyork 3)London 4) Australia
 When the user types 'New' the system allow the user to input and also should suggest what are the values/records starting with New but needs to restrict the user when he enters something like 'Flo' (i.e., the item which doesn't matches with the dropdownlist values).

Can anyone suggest how to acheive this. Also it would be great if you can provide me code snippet
Currently I am using Q3 2009 SP1 version.

Regards,
Prasad.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 13 Sep 2010, 02:58 PM
Hello Prasad,

Thanks for writing.

You should set DropDownStyle to DropDownList. This mode allows user to choose only items that exist in the list, without typing any chars.

I hope this helps.

Regards,
Peter
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Prasad
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or