JumpList selectedItem to null

6 posts, 0 answers
  1. Bojan
    Bojan avatar
    11 posts
    Member since:
    Jan 2014

    Posted 11 Feb 2014 Link to this post

    I am doing navigation on jumplist item selection, navigation to second page works well, but after pressing back button and navigation back to the page with jumplist the item I taped on before stays marked(colored), this is happening with each item on the list until they are all selected.
    Application works fine, but this is very annoying.
    Is there any way to fix this

    Thank you
    Best regards
  2. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 12 Feb 2014 Link to this post

    Hello Bojan,

    Can you please share some code or possibly a sample project that reproduces the glitch? Currently we cannot exactly say why this happens and we will need some more information to assess the case.

    Thanks for your time.

    Regards,
    Deyan
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peek previews directly from the developers working on the UI for Windows Phone, subscribe to the blog feed now.
  3. DevCraft banner
  4. Bojan
    Bojan avatar
    11 posts
    Member since:
    Jan 2014

    Posted 13 Feb 2014 in reply to Deyan Link to this post

    I can't provide solution, but this is method where i call navigationService
    private void LocJumpList_SelectionChanged(object sender, SelectionChangedEventArgs e)
           {
               if (locJumpList.SelectedItem == null)
                   return;
     
               Loc selectedData = (sender as RadDataBoundListBox).SelectedItem as Loc;
               Id = selectedData.Id;
     
                          
                   NavigationService.Navigate(new Uri("/Page.xaml?selectedItem=" + Id, uriKind.RelativeOrAbsolute));
                        
               locJumpList.SelectedItem = null;
           }

  5. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 14 Feb 2014 Link to this post

    Hello Bojan,

    Can you please try setting the SelectedItem to null before the Navigate call and let us know if it works for you?

    Regards,
    Deyan
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peek previews directly from the developers working on the UI for Windows Phone, subscribe to the blog feed now.
  6. Bojan
    Bojan avatar
    11 posts
    Member since:
    Jan 2014

    Posted 14 Feb 2014 in reply to Deyan Link to this post

    Hi,
    I forgot to mention that I've already tried that and it doesn't change anything.
    Any other solution?
  7. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 17 Feb 2014 Link to this post

    Hello Bojan,

    To be able to further assist you we will need a sample project that we can use to reproduce the undesired behavior. This will enable us to debug our source code and see what's preventing the NotSelected visual state of the item from being activated.


    Regards,
    Deyan
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peek previews directly from the developers working on the UI for Windows Phone, subscribe to the blog feed now.
Back to Top
DevCraft banner