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

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.

In this article
Not finding the help you need? Improve this article