johnfraser
Programmer
Okay so I have a Webuser control which I want to contain the very basics of a common set of controls. Title, sub title, error section (just a label) etc.
I try to do this with the following code:
public class BaseControl: Web.UI.UserControl
{
}
another class that inherits from it:
public classe MyControl: Basecontrol
{
}
The gui elements are in the designer partial class of the BaseControl and I can access the server side controls from the MyControl class but in designer mode and in the application itself I can't see the title and other "BaseClass" html elements.
Can't I do this?
I try to do this with the following code:
public class BaseControl: Web.UI.UserControl
{
}
another class that inherits from it:
public classe MyControl: Basecontrol
{
}
The gui elements are in the designer partial class of the BaseControl and I can access the server side controls from the MyControl class but in designer mode and in the application itself I can't see the title and other "BaseClass" html elements.
Can't I do this?