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

RadDropDownList end user Custom Text

1 Answer 423 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Hubert
Top achievements
Rank 1
Hubert asked on 17 May 2016, 09:40 AM

Hi, 

I would like to know how can I implements my WinForms to enable Custom Text for users. 

I have tried the "readOnly" attributes set to false but it's not working.

 

Actually, the list is filled with datasource and with a databoud method, but I want to allow users to enter values in this element. 

I made some research but have not found what I searched for. 

 

Please let me know if you need more informations about my problem.

Thant you in advance for your help.

Regards Jeremie

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 18 May 2016, 09:59 AM
Hello Jeremie,

Thank you for writing.

In order to enable typing in the editable area of RadDropDownList, it is necessary to set the DropDownStyle property to RadDropDownStyle.DropDown. However, if you type a custom text, it won't match any item in the drop down. Hence, no selected item will be available. If you need to type a custom text and associate it with the relevant item, it is necessary to add a new record to the associated DataSource. A approach which can be adopted for RadDropDownList is demonstrated in the following help article: http://docs.telerik.com/devtools/winforms/gridview/editors/how-to/allow-end-users-to-add-items-to-dropdownlisteditor

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
DropDownList
Asked by
Hubert
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or