windows phone 8 - Use WebBrowser and OnNavigatedFrom back history WP8 -


I have a webbrover in my project Windows Phone 8. I want to make browser type Internet Explorer My problem is a back button

I am including these codes: WebBrowser.InvokeScript ( "eval", "history.go (-1)");

But close the xaml page

P>

Not available in the navigational e.cancel = true?

Are you looking for override - when the return key pressed, no - when you Page :

 leaving , then it is removed from; Override protected void OnBackKeyPress (System.ComponentModel.CancelEventArgs e) {// You should check for example if there is a history (history exists) {WebBrowser.InvokeScript ( "eval", "history.go (-1)"); E.Cancel = true; } / / General navigation - exit pages - to meet the certification requirements}   

This is a button that you can override, but keep in mind to be that fit you It must be managed properly, it must provide navigation and exit apps.

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -