This question is locked. New answers and comments are not allowed.
Hi,
I have a RadListBox that I fill with just some strings, like this
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.
I have a RadListBox that I fill with just some strings, like this
RadListBoxItem item = new RadListBoxItem(str); |
listBox.Items.Add(item); |
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.