I create a webbrowser and set the AllowNavigation property to false. This works alright for most links out there, but when I encounter links that have this attribute:
target="_blank"
- then Internet Explorer appears and opens the link inside.
Is there a way to stop the WebBrowser from calling IE? I know I can go through all links after the page loads and set the target attribute to empty, but I would like to learn how to disable any calls to IE.
Also, there are occasions when I navigate to a direct link of an image and the "File Download" dialog will appear asking me if I want to save the file to my hard drive. After I click cancel, it no longer appears and the following navigated images are just displayed in the webbrowser which is what I wanted. I'm guessing this download dialog is from IE as well. How do I disable this too?
target="_blank"
- then Internet Explorer appears and opens the link inside.
Is there a way to stop the WebBrowser from calling IE? I know I can go through all links after the page loads and set the target attribute to empty, but I would like to learn how to disable any calls to IE.
Also, there are occasions when I navigate to a direct link of an image and the "File Download" dialog will appear asking me if I want to save the file to my hard drive. After I click cancel, it no longer appears and the following navigated images are just displayed in the webbrowser which is what I wanted. I'm guessing this download dialog is from IE as well. How do I disable this too?