如何在Windows Phone 8 C#中的WebBrowserTask中获取URL或Web页面事件。 [英] How to get url or web page event in WebBrowserTask in Windows Phone 8 C#.

查看:51
本文介绍了如何在Windows Phone 8 C#中的WebBrowserTask中获取URL或Web页面事件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有代码:



WebBrowserTask webBrowserTask = new WebBrowserTask();



webBrowserTask.Uri = new Uri(http://www.google.com,UriKind.Absolute);



webBrowserTask.Show();





它将进入谷歌页面,但之后当我通过谷歌下一页或下一页的表格,然后我想获得该页面的网址。

但我无法得到它。

WebView在Windows Phone 8.1中提供它。但我的应用程序只在wp 8中,我想在WP8中找到解决方案。



请帮助... se帮助...

解决方案

Fanally ....

我在上面的问题上得到了解决方案。



你可以使用Web浏览器控件with

IsScriptEnabled =True



通过使用上面这个问题解决了。

: - )

I had code :

WebBrowserTask webBrowserTask = new WebBrowserTask();

webBrowserTask.Uri = new Uri("http://www.google.com", UriKind.Absolute);

webBrowserTask.Show();


It will go to google page but after that when i go form next or next to next page by google, Then i want to get url of that page.
But i couldn't get it.
WebView Provide it in Windows Phone 8.1. but my app is only in wp 8 and i want solution in WP8.

Please Help...se Help...

解决方案

Fanally....
I got solution on above Problem.

U can use Web Browser control with
IsScriptEnabled="True"

By Using this above problem is solved.
:-)


这篇关于如何在Windows Phone 8 C#中的WebBrowserTask中获取URL或Web页面事件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆