wp7 webbrowser 控件未导航到 uri

发布于 2024-12-27 18:16:37 字数 469 浏览 1 评论 0原文

我正在开发一个涉及 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小瓶盖 2025-01-03 18:16:37

默认情况下,WebBrowser 控件中禁用 Javascript。不要忘记通过将 IsScriptEnabled 设置为 True 来激活它。

Per default, Javascript is disabled in the WebBrowser control. Don't forget to activate it by setting IsScriptEnabled to True.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文