Hello all,
When we add a new component in default.aspx in the designer mode, it
automitically adds a line declairing the component in the codebehind. We dont
want the declaration of this component in the code behind because we inherit
from a base class which already contain this declaration of the component.
For example, we need a "TopMenu" component in all pages so we declared it in
the Base Class. The base class will fill this menu...
My issue is that when I use the Design mode, VS adds the component
declarations in my code behind. So I have the declaration twice (code behind
& base class) and this two declaration makes conflict.
Do you have any idea to create a base class & use the design mode without
having this conflic?
Thanks.