I have a RadListBox that I fill with just some strings, like this
|RadListBoxItem item = new RadListBoxItem(str);
I want this ListBox to stay sorted, so I set
|listBox.Sorted = Telerik.WinControls.Enumerations.SortStyle.Ascending;
Yet, the string are not sorted. What am I missing?
I tried listBox.Items.Sort. The string are sorted, but then selection is screwed up. Clicking the first item in the list will select the actual first item added to the list.