Navigating back, forth and refreshing with WebBrowser class in Windows Phone 7 -



Navigating back, forth and refreshing with WebBrowser class in Windows Phone 7 -

unless i'm beingness blind there appear no methods implemented in webbrowser class on windows phone 7 navigate backwards , forwards through pages within browser, nor refresh existing page?

am right in assumption? can achieved way?

i have tried using "javascript:history.go(-1)" uri , asking webbrowser object navigate it, didn't anything.

you're right, webbrowser doesn't have back/forward/refresh methods. need invokescript javascript , there. invokescript works best pre-defined javascript functions you've defined on page. can this: webbrowser.invokescript("eval", "history.go(-1)"). that's not guaranteed work since eval not work if page has no tags or if eval has been overriden other script.

windows-phone-7

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -