HtmlEditor :  Phorum 5 The fastest message board... ever.

This is the discussion forum for the HtmlEditor. See also the HtmlEditor home page, where you can download the control, and the Documentation Wiki, a collaborative project for documenting the control.

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Strange problem
Posted by: Paulo (
Date: Tuesday, 22-Apr-2003, 20:19:10

I have a strange problem with the HTMLEditor on a project.

I've placed it on a form and it just doesn't works. It shows a white square on the place where I dropped the control, but shows no scrollbar and worst of all, shows no data at all. Remains just that white square.

I execute code that adds HTML using the DOM and it doesn't give me any error, but just doesn't show a thing.

I've used almost the same code on a prototype I've made to test Tim's control and it works pretty fine, but on the actual project that it must be implemented it doesn't show up.

If someone have find a similar problem, please, share it with me.

Thanks to all,


Re: Strange problem
Posted by: Tim Anderson (
Date: Tuesday, 22-Apr-2003, 20:54:48

No, never had that.

If it is just a white square, it sounds as if the initHtml routine is either not being called, or is failing. This gets called in the OnParentChanged event handler, which normally fires when the control is added to the form (in InitializeComponent).

You could try adding the htmlEditor project to your solution and stepping through the code. I'd step through initHtml and also the methods it calls such as CreateDocument in HtmlSite.cs. Then you can tell us which line is failing, if any.

It's curious though that you added HTML using the DOM - that implies you got a valid HtmlDocument to work with? If you got this from the htmlEditor's Document property then it must be nearly working.


Your Name: 
Your Email: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.