c# - Navigating to an xhtml document in webbrowser control opens up Chrome -


I have written a program that uses webbrower control to preview locally stored XHTML documents.

It works fine on my PC and another machine, but when I send it to someone, when he tries to load the document, a Chrome popup shows and asks if We want to open the page or save it. If we press open, then the Chrome window opens and my web browser control says that the navigation was canceled on the webpage.

I tried that on two PCs which chrome (problematic same version) and only

Cheers

Well, it turns out that the version of Internet Explorer is important. The problematic PC had 8.0 IE, which would complain about opening XHTML files. Upgrading to IE 11 solves the problem.

Thus, the web browser is largely dependent on the installed browser.

Cheers!


Comments