By default sorting in the ComboBox is disabled. The items are displayed in the order they are loaded from the data source and checking/unchecking an item does not change the order. The items can be sorted if the control Sort
property is set and the Sort()
method is called as explained in this
documentation article. As for a SortCheckedItems
property such is not implemented.
Could you elaborate more on the following:
- "When selecting, items are shown in order i checked them. After postback they are sorted in ascending order." Could you describe step-by-step your actions and the result from opening the ComboBox dropdown to the subsequent postback and re-opening the dropdown?
- What method of binding do you use?
- Are you calling the Sort() method or using other sorting logic?
It would be helpful if you could post a sample runnable page, as this will give us a more complete picture of your scenario.
Telerik by Progress