Search code examples
windows-8microsoft-metrodownload

Download with Webview Windows 8


I'm really stuck with an issue. I would like to download a PDF/ZIP formatted file from webview but I can't find any solution/tutorial on the internet, I tried to look webview property class.
i have a webview:

WebView x:Name="webviewIntranet" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />

and my method:

public IntranetPage()
{
   webviewIntranet.Navigate(new Uri("http://www.testme.com"));
           this.InitializeComponent();
}

I'm able to show the webpage content but nothing happens when a try to download/click to download some files.


Solution

  • WebView can't download file. Microsoft has tried not to be WebView, a replacement of IE browser. See the answer from MSDN forum.