I'm using a WebBrowser
control in design mode.
webBrowser1.DocumentText = "<html><body></body></html>";
doc = webBrowser1.Document.DomDocument as IHTMLDocument2;
doc.designMode = "On";
I have a save button that I would like to enable or disable depending on whether the contents of the control have changed.
I also need to know when the contents of the control have changed as I need to stop the user from navigating away from the control without accepting a confirmation message box stating that their changes will be lost.
I can't find any events that would let me know that the contents have changed.