I'm working on an application which needs an HTML editor. Since I don't want to use 3rd party controls, I'd like to make an HTML editor for the .NET framework 2.0 myself. But apparently many things have changed, since the framework itself now contains the WebBrowser component. Formerly an ActiveX component was used.
But I can't find any method or property for enabling design mode, like the contentEditable property, or something like that. The msdn2 class library reference doesn't contain such a property, as far as I found out. Does anyone know how to enable some kind of design mode on the WebBrowser control, so that I can even get started

.NET 2.0 WebBrowser HTML editor
MQTeam
this.webBrowser.Document.Body.SetAttribute("contentEditable", "true");
I couldn't get the posted code to work, but I was able to get the web browser control into an edit mode using the following ActiveXInstance.
Dim docQ As New Object docQ = webBrowserQuestion.ActiveXInstance docQ.document.DesignMode = "On"Do they both produce the same results Is there an advantage of one over the other
Efren
this.webBrowser.Document.Body.SetAttribute("contentEditable", "true");