i need to block file download in webbrowser control in C#.net.. how can i do it?
A:
Could you be more specific as to what you mean by file download? Opening an html web page is also a file download. You could use the Navigating event, inspect the target URL and if you classify it as a file download you could set the Cancel
property.
Darin Dimitrov
2010-02-02 07:33:05
when a prompt for file download appears when you navigate to a certain site. i want to prevent it.
Jepe d Hepe
2010-02-02 08:16:07
+1
A:
Implementing a Custom Download Manager managed wrapper http://www.codeproject.com/KB/miscctrl/csEXWB.aspx
Sheng Jiang 蒋晟
2010-02-03 19:50:29