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

2 posts, 0 answers
  1. job
    job avatar
    7 posts
    Member since:
    May 2014

    Posted 23 Nov 2014 Link to this post

    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.
  2. Rosy Topchiyska
    Rosy Topchiyska avatar
    547 posts

    Posted 26 Nov 2014 Link to this post

    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.

    Rosy Topchiyska

    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.

  3. DevCraft banner
Back to Top