Hello Telerik. Had a follow up question: I have noticed that when I subscribe the selectionchanged event to teh RadListPicker (after adding the items) , it fires the event. After some testing, I realized that I don't have to add anything to it. Merely the act of subscribing the event fires it. See below.
test.SelectionChanged += new SelectionChangedEventHandler(test_SelectionChanged);
void test_SelectionChanged(object sender, SelectionChangedEventArgs e)
throw new NotImplementedException();
it will hit the NotImplementedException on page load in debugging. Am I missing something here? I haven't added anything to the RadListPicker. What you see here is the exact code that fires it. There is no databinding or items being added. Nothing was clicked, only page load.
Am I just totally missing something here?
Thanks for the help in the previous question!
UPDATE: as a workaround, I check for the IsExpanded property to see if it's been opened to get the value chosen. If true, I go ahead and do my logic.
Would still like to know an answer in general on why this event fires on subscription, but this is a good workaround.