I am trying to include the CuteEditor in an ASP.NET 2.0 custom composite control (VS.NET 2005). When I try to instantiate the Editor class in the CreateChildControls() method, the control works fine when I run the web project and view the page, but it breaks the control rendering in design view when added to an APSX page:
The only line in the method referring to the CuteEditor is:
CuteEditor.Editor editor = new CuteEditor.Editor();
If I comment this line, the design view works again. I tried adding the line above to the CreateChildControls() method of another composite control and got the same results- the design view broke with the addition of that one line.
I think the Editor class must be looking for something it can't find while in design view as part of a composite control. Help?
Dave Swersky