This question is locked. New answers and comments are not allowed.
Utilizing a RadJumpList sorted alphabetically with a custom group picker item list (as seen in the Telerik help documentation) as well as an event handler for the group picker item tap event (also as seen in the help docs) and receiveing a null ref exception when an item is selected for which there are no groups in the RadJumpList.Groups.
string
alphabet =
"#abcdefghijklmnopqrstuvwxyz"
;
List<
string
> groupPickerItems =
new
List<
string
>(32);
foreach
(
char
c
in
alphabet)
{
groupPickerItems.Add(
new
string
(c, 1));
}
MainListBox.GroupPickerItemsSource = groupPickerItems;
private
void
GroupPicker_ItemTap(
object
sender, GroupPickerItemTapEventArgs e)
{
foreach
(DataGroup group
in
MainListBox.Groups)
{
if
(
object
.Equals(e.DataItem, group.Key))
{
e.DataItemToNavigate = group;
return
;
}
}
}