I use RadListPicker in my app. It's used for selecting target location, user can define all locations in the list, but it could empty as well.
The problem is how to handle the situation when the list of locations is empty? Currently is shows empty box and when I click it, it gets highlighted and won't return back to unhighlighted state (i guess it waits for selection, but none can happen if there is no item in the list).
I'd like to show a message "location list is empty" when there is no location to show and also to prohibit the editing (this could be achieved using converter for the Enabled property I guess)
I tried using ItemTemplate for returning that empty message or even SummaryForSelectedItemsDelegate, but when there is no item in source list, it's never called.
<telerikInput:RadListPicker Header="header" ItemsSource="{Binding Locations}" SelectedItem="{Binding EditedLocation, Mode=TwoWay}" />