开发者

Take link in web browser with WP7

when I click 1 link in web browser of WP7, the new web has been open. But how can I take link, which I just click, into TextBox to use for other aim? It开发者_运维问答 work nearly FF, when u click any link in 1 any page - this link will be shown on the web address.

thank all for support !!


To do this you can use the WebBrowser control Navigating or Navigated event (MSDN link) and pick up the URL from the event arguments.


Use window.external.notify within your HTML page in order to notify your Silverlight application. See the following:

http://www.uxmagic.com/blog/post/2011/06/26/Hosting-an-HTML-App-in-Windows-Phone-7-Mango.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜