This question is locked. New answers and comments are not allowed.
Hello!
I'm evaluating the WP7-controls collection and everything's been real smooth so far.
Rough structure of the problem area:
Grid->RadJumpList->ListHeaderTemplate->RadPickerBox->RadioButton
When navigating to page, no grouping is applied. When one of the radiobuttons is selected, pickerbox gets hidden and new grouping is created based on the selection. One of these radiobuttons is for clearing any grouping applied to the list.
When i clear the GroupDescriptors-collection with something like this:
Everything seems to be working ok, when the pickerbox closes there's no group header visible. Now, if i scroll the jumplist down a bit and then back up - group headers reappear from somewhere :-)
Any ideas what's going on here? I can provide more code samples if required.
Best Regards,
Jukka Arola
Edit 1:
More informational tidbits: I tested this with a set of data that had only single group header. Same behavior there. Additionally, i noticed that when the problem is current (groupings have reappeared) tapping a group header opens the group picker, but there's nothing to select. Just the partially transparent layer on top of the page.
Edit 2:
More testing, this time with actually looking at the rendered data :-) When the problem is current, data appears twice: Beginning of JumpList contains items in groups followed by non-grouped items.
Edit 3:
JumpList was bound to a CollectionViewSource. I changed the itemssource to an ObservableCollection and that seems to solve this problem.
If i wouldn't have opened this thread, i probably would've spend the night banging my head against the proverbial wall :-) It usually takes about five minutes for you to discover you've tried to do something stupid after you finally go and ask about dev problem in the 'nets...
I'm evaluating the WP7-controls collection and everything's been real smooth so far.
Rough structure of the problem area:
Grid->RadJumpList->ListHeaderTemplate->RadPickerBox->RadioButton
When navigating to page, no grouping is applied. When one of the radiobuttons is selected, pickerbox gets hidden and new grouping is created based on the selection. One of these radiobuttons is for clearing any grouping applied to the list.
When i clear the GroupDescriptors-collection with something like this:
this.jumpList.GroupDescriptors.Clear();
Everything seems to be working ok, when the pickerbox closes there's no group header visible. Now, if i scroll the jumplist down a bit and then back up - group headers reappear from somewhere :-)
Any ideas what's going on here? I can provide more code samples if required.
Best Regards,
Jukka Arola
Edit 1:
More informational tidbits: I tested this with a set of data that had only single group header. Same behavior there. Additionally, i noticed that when the problem is current (groupings have reappeared) tapping a group header opens the group picker, but there's nothing to select. Just the partially transparent layer on top of the page.
Edit 2:
More testing, this time with actually looking at the rendered data :-) When the problem is current, data appears twice: Beginning of JumpList contains items in groups followed by non-grouped items.
Edit 3:
JumpList was bound to a CollectionViewSource. I changed the itemssource to an ObservableCollection and that seems to solve this problem.
If i wouldn't have opened this thread, i probably would've spend the night banging my head against the proverbial wall :-) It usually takes about five minutes for you to discover you've tried to do something stupid after you finally go and ask about dev problem in the 'nets...