G
Guest
when i used VS Web Express, i created a custom user control .ascx
it doesn't allow to inherit other base classes than System.Web.UI.UserControl.
i have a base class called =>
public class PortalModuleControl : System.Web.UI.UserControl
Then i try to inherit my .ascx class to PortalModuleControl class.
public partial class MyControl : ASPNetPortal.PortalModuleControl
The compiler generate the following error:
Partial declarations of 'ASPNetPortal.MyControl' must not specify different
base classes
Anyone know why it doesn't work?
it doesn't allow to inherit other base classes than System.Web.UI.UserControl.
i have a base class called =>
public class PortalModuleControl : System.Web.UI.UserControl
Then i try to inherit my .ascx class to PortalModuleControl class.
public partial class MyControl : ASPNetPortal.PortalModuleControl
The compiler generate the following error:
Partial declarations of 'ASPNetPortal.MyControl' must not specify different
base classes
Anyone know why it doesn't work?