views:

8

answers:

0

I would like to decorate my ascx with an attribute so that when I search for types that have that attribute it will appear. The issue is that it seems like I can only add it to the base class which means that when I do a LoadControl on the type I don't get the ascx file, I get base class. I'm trying to avoid having controls require being added manually and am trying to go for a decoration style of programming on this as I don't want the classes to have to keep changing as new controls are added.