wp7 webbrowser 控件未导航到 uri
我正在开发一个涉及 twitter 集成的 wp7 应用程序,为此我使用 webBrowser 控件来启动 twitter oauth 验证。
启动 webBrowser 会显示一个网页,要求用户登录他们的 Twitter 帐户。 除了一件事之外,一切都工作正常。
页面右上角有一个 Twitter 注册按钮。 如果用户点击它,网络浏览器将导航到空白屏幕,并且什么也不会发生。与此同时,网页中的其他链接(例如“忘记密码”)工作正常。 webbrowser 控件导航到 twitter 忘记网页。
然而,只有在注册时它才会显示空白屏幕,我正在处理网络浏览器的导航和导航事件。这是我得到的网址,
https://mobile.twitter.com/signup
如果我在 wp7 手机的 IE 上尝试相同的网址,它工作正常! 很困惑为什么会发生这种情况,请让我知道我哪里出了问题。这阻止了我提交最终的应用程序。
I am developing a wp7 app which involves twitter integration, For this i am using a webBrowser control to launch the twitter oauth verification.
launching the webBrowser shows a web page , asking user to login to their twitter account.
Everything is working fine except one thing.
there is a twitter signup button on the top right of the page.
If user taps on it, the web browser navigates to a blank screen and nothing happens. meanwhile other links in the webpage like "forgot password" works fine. webbrowser control navigates to twitter forgot web page.
However only on signup it is showing a blank screen, I am handling both the Navigating and navigated event of web browser. and this is the url that i get
https://mobile.twitter.com/signup
if i try the same url on the IE of wp7 phone it works fine!!!
confused why this is happening, Please let me know where i am going wrong. this is blocking me from my final app submission.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认情况下,WebBrowser 控件中禁用 Javascript。不要忘记通过将
IsScriptEnabled
设置为 True 来激活它。Per default, Javascript is disabled in the WebBrowser control. Don't forget to activate it by setting
IsScriptEnabled
to True.