Category Archives: WinRT

WinRT: FrameState _PageKey Error

While working on my latest Windows store app, I ran across an issue while performing some navigation between pages.  See the error screenshot below.

FrameStatePageKeyError

You need to make sure that the page being navigated to is calling base.OnNavigatedTo in their OnNavigatedTo methods.  This is because that is where the page key is set up, which is required for when you’re navigating away from a page to save its state.

FrameStatePageKey_WithBaseCall

Advertisements
Tagged , , , ,
%d bloggers like this: