从Xaml WebView控件下载文件 [英] downloading files from Xaml WebView control

查看:73
本文介绍了从Xaml WebView控件下载文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我将外部网页加载到WebView中。该页面包含下载文件的链接。当我点击链接时没有任何反应。如果我点击其他html页面的常规链接,它会重定向。在Metro IE中,当您单击要下载的链接时,将打开命令魅力,其中包含"运行","保存","取消
"按钮。我怎么能从WebView做到这一点?谢谢。

解决方案

你不能这样做。

Hi I loaded an external web page into WebView. The page contains a link to download a file. When I click the link nothing happens. If I click regular links to other html pages, it does redirects. In Metro IE, a command charm opens with Run, Save, Cancel buttons when you click on a link to download. How can I do this from WebView? Thanks.

解决方案

You can't do this.


这篇关于从Xaml WebView控件下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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