Click to See Complete Forum and Search --> : Derived UserControl


TheCPUWizard
May 10th, 2004, 07:10 PM
I have a number of user controls that share common functionallity. It would be ideal to create a single class derived from System.Web.UI.UserControl [e.g. MySpecialControl] and then derive all of my specific controls from here.

Unfortunately I loose designer support for Web Forms and their properties as soon as I do this.

Any fairly easy way do do this?

TheCPUWizard
May 10th, 2004, 07:18 PM
Got it....

I had marked my common base class as abstract. While it is (conceptually), this is sufficient to prevent the designer from doing the Dynamic Compilation.