ApplicationBar oddity after installing Q2 SP1

3 posts, 1 answers
  1. Zik
    Zik avatar
    18 posts
    Member since:
    Mar 2012

    Posted 07 Jul 2012 Link to this post

    Just installed 2012.2.629 and was running my app in the emulator to check out the changes (I also had noticed the RadDiagnostics wasn't sending emails and wanted the fix).  I am seeing something very strange.  Two of the pages in my app have an application bar.  One bar has 1 icon plus 3 menu items, the other has 4 icons.  The page with the bar with 1 icon leads to the other page.  What I'm seeing is that the ApplicationBar on the first page is getting corrupted (the one with the single icon).  Putting a break point in the Loaded event I see that this.ApplicationBar actual points to the other page's ApplicationBar instead of its own.  Other times this.ApplicationBar is null.  I build the ApplicationBar in the constructor of the page, and once created it never changes.

    What seems to trigger the problem is on the second page I occasionally hide the ApplicationBar.  I set this.ApplicationBar.IsVisible to false in the WindowOpening event of a RadModalWindow, and back to true in the WindowClosed event.  The window is always closed before leaving the page.  If I don't do this I can go back and forth between the two pages just fine.  As soon as I hide and show the ApplicationBar once, the ApplicationBar on the first page gets screwed up.

    I do not see this behavior with the older version (2012 Q2), just SP1.  It is very odd.
  2. Answer
    Tiziano
    Tiziano avatar
    17 posts
    Member since:
    Feb 2012

    Posted 08 Jul 2012 Link to this post

    Hello Zik,
    the issue is already fixed and you could find it in our latest internal build.

    Check my post with the same problem: http://www.telerik.com/community/forums/windows-phone/vs-extensions/update-to-629.aspx

    :)

    Best regards
    Tiziano
  3. DevCraft banner
  4. Zik
    Zik avatar
    18 posts
    Member since:
    Mar 2012

    Posted 09 Jul 2012 Link to this post

    Gotcha, thanks!

    Hopefully the internal build becomes the official build soon :)
Back to Top