Using combobox as a textbox

2 posts, 0 answers
  1. Kourosh
    Kourosh avatar
    19 posts
    Member since:
    May 2013

    Posted 02 Aug 2018 Link to this post

    Hello Telerik,

    I want Rad.ComboBox to be edited, i.e. I want to be able to search and select an item inside the combobox and also in case I don't have an item inside the combo, I would like to be able to type the new value and be able to bind the new item to save later.

    What happens right now is that when the item I am looking for is not in combobox, as soon as I leave the combo the value inside the combobox is lost!

    My question is how can I keep the search and auto-complete ability inside the combobox and also be able to keep the typed value?

    Please answer asap.

    Best Regards


  2. Dinko
    Dinko avatar
    1124 posts

    Posted 03 Aug 2018 Link to this post

    Hello Kourosh,

    I am assuming that you have set IsEditable and IsReadOnly to True. Correct me if I am wrong. When these properties are set to true you will be able only to change the text in the 
    RadComboBox if the type letter key match with the first letter of the items inside the combo box drop-down. On other hand, if IsReadOnly is set to False you can set custom text in the RadComboBox TextBox if none of the suggested items in the drop-down satisfy your needs. You can try setting the IsReadOnly to False on your side and let me know if it works for you.

    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top