Unexpected call to method or property access.

Aug 26, 2010 at 4:23 AM

I get this error "htmlfile: Unexpected call to method or property access." when I run the page that hosts the control. It breaks here 

p.appendChild(ColorDialog.uiElement);

Any idea what's going on? Anyone else encountered this?