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

CheckedDropDownList checked items sort order

1 Answer 114 Views
CheckedDropDownList
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 2
Bronze
Iron
Veteran
Mark asked on 09 Oct 2018, 08:49 PM

Is there a simple way, by setting a property, that the items that are checked that show up in the checked list area, (not in the drop down list) stay sorted as they are sorted in the Drop Down and not sort based on the order they checked them in the list? 

 

If not, what would be the best way to make this happen?

 

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Oct 2018, 02:05 PM
Hello, Mark, 

By design, the tokens in the editable part of RadCheckedDropDownList are ordered in the order of adding the autocomplete items. There is no property or an easy way to control the tokens' order. Note that RadCheckedDropDownList internally uses a derivative of the RadAutoCompleteBoxElement. You can handle the CheckedDropDownListElement.AutoCompleteEditableAreaElement.AutoCompleteTextBox.TextChanged event and manipulate the text according to the desired sort order to the tokens. The following help article demonstrates how to set text in the autocomplete box: https://docs.telerik.com/devtools/winforms/editors/autocompletebox/text-editing 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess
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.
Tags
CheckedDropDownList
Asked by
Mark
Top achievements
Rank 2
Bronze
Iron
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or