This is a migrated thread and some comments may be shown as answers.

[Solved] GroupPickerItemTemplateSelector items still enabled even after i remove an item from my JumpList.

1 Answer 50 Views
JumpList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
job
Top achievements
Rank 2
job asked on 23 Nov 2014, 02:16 PM
after i delete an item and tap another group header the deleted item's group is still enabled it can be tapped and that causes an exception to be thrown because such a grouping doesn't exist.

1 Answer, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 26 Nov 2014, 12:27 PM
Hello Job,

Thank you for contacting us.

In this scenario you have to disable the groups that contain no items. I have attached a sample project that demonstrates how you can do this using the RadJumpList.GroupHeaderItemTap event.

Alternatively you can use a custom GroupPickerItemTemplateSelector to set a different template depending on whether the group item should be enabled or disabled. You can see how to do this in our Telerik Examples application - JumpList - PhoneBook example. The default location of the source code of the application is C:\Program Files (x86)\Telerik\UI for Windows Phone 8 QX XXXX\Examples.

I hope this helps.

Regards,
Rosy Topchiyska
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
JumpList
Asked by
job
Top achievements
Rank 2
Answers by
Rosy Topchiyska
Telerik team
Share this question
or