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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -