WebBrowser Control Garbles when Set to EditMode - 06-27-2010 , 03:11 PM
I have the webbrowser control and it is set to designmode like this:
theWebBrowser.AllowNavigation = False
theWebBrowser.AllowWebBrowserDrop = False
theWebBrowser.IsWebBrowserContextMenuEnabled = False
theWebBrowser.ScriptErrorsSuppressed = True
theWebBrowser.ActiveXInstance.document.designmode = "On"
I have tried something similar using IE and Firefox by running this in
document.designMode='on'; void 0
They both put the the page in edit mode, but the first way garbles the
page. The second works just fine, not changing anything. I have tried
webbrowser control. But the result is the same.
I am surprised that I haven't found any mention of this anywhere
|Thread Tools||Search this Thread|