views:

110

answers:

0

Hello!

I have an abstract base class derived from UserControl (called BaseControl) and several other classes inheriting from this BaseControl class. BaseControl class gets typed to f.ex. TextBox or DropDownList and then in its constructor i create a new instance of this type.

Everything is working just fine otherwise, but for some reason the controls do not show up on VS2008 designer. I can access their properties and they show up at runtime.

Are there any common problems with the designer in this sort of hierarchy? I found some hits via Google, but they were about some older versions of VS (2003 probably).

I'll provide detailed code later, i'm in the process of trying to isolate the problem by building the same hierarchy from scratch.

Sidenote: I don't personally use the designer, and so i haven't noticed any problems with my control library. Now when others started using it, i got a few questions about this problem.