locked
Problem in Loadstate

    Question

  • Hello to everyone!

    I am building a windows store app which uses the invokeScriptAsync to get elements from a webpage. The user checks the elements that they want to get from several web pages. But I only have one webview to navigate to these web pages. Each ckeckbox has a eventhandler to begin the procedure....> NavigationCompleted>ScriptNotify. The problem is in loadstate, where only the checkbox.isChecked value is saved. After the loadstate, every checkbox is checked as before user closes the app , but only the last element is shown to the user. It seems that the NavigationCompleted and ScriptNotify did not have the time to run for the checkbox eventhandlers and only the last eventhandler and Navigation was executed. I really need some help here! What should i correct?

    Thanks in advance!

    Monday, May 12, 2014 12:25 PM

All replies

  • You'll have to post some code or a link to a sample project displaying the problem so we can help further.

    Darin R.

    Monday, May 12, 2014 5:38 PM