Edit this page

Sorting

Sorting in RadListControl is controlled by the SortStyle property. The available sorting options are listed below:

  • Ascending: indicates ascending sorting.

  • Descending: indicates descending sorting.

  • None: indicates no sorting. Items appear in the order of inserting.

Figure 1: SortStyle.Descending

dropdown-and-listcontrol-listcontrol-sorting 001

Setting Sorting

radListControl1.SortStyle = Telerik.WinControls.Enumerations.SortStyle.Ascending;

radListControl1.SortStyle = Telerik.WinControls.Enumerations.SortStyle.Ascending

caution

Changing the SortStyle property may cause the SelectedIndexChanged event to fire if the position of the currently selected item has changed after the sort operation.

Was this article helpful? Yes No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy