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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -