V
Vikas Manghani
Hi
I have a base user control that is inherited from System.Web.UI.UserControl.
It has a single button on it. I want to derive few other controls from this
base user control.
I am using Visual Studio 2005 (ASP.Net 2.0). But its not as simple as
setting the right base classes for the code behind class and setting the
Inherits attribute in the aspx page.
If I create the usercontrol as a class in App_Code and inherit my classes
from it, it works. The problem is that if the class is in App_Code I cannot
have a UI to it, i.e. have a button on its surface.
Can anyone tell me how do I do it?
Thanks in advance
Vikas Manghani
I have a base user control that is inherited from System.Web.UI.UserControl.
It has a single button on it. I want to derive few other controls from this
base user control.
I am using Visual Studio 2005 (ASP.Net 2.0). But its not as simple as
setting the right base classes for the code behind class and setting the
Inherits attribute in the aspx page.
If I create the usercontrol as a class in App_Code and inherit my classes
from it, it works. The problem is that if the class is in App_Code I cannot
have a UI to it, i.e. have a button on its surface.
Can anyone tell me how do I do it?
Thanks in advance
Vikas Manghani