Rad Combobox Problem

2 posts, 0 answers
  1. Prasad
    Prasad avatar
    27 posts
    Member since:
    Oct 2009

    Posted 08 Sep 2010 Link to this post

    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.
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 13 Sep 2010 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top