R
Rob Meade
Hi all,
I used to be able to create a base class that I would use for my web user
controls, when I've just tried this I get a lot of underlines and build
errors.
Previously I'd just create a new class which inherited:
System.Web.UI.UserControl
And then replace that line in the web user control with the name of my base
class:
ControlBase
For example...
The one thing I have spotted which I think is different is that the web user
controls are using "partial" classes, this would suggest that some where
else in the application is perhaps some more code - maybe this needs to
inherit my base class too?
Any information on this would be handy as I dont seem to be able to inherit
my base class at all in the way I was familiar with.
Cheers
Rob
I used to be able to create a base class that I would use for my web user
controls, when I've just tried this I get a lot of underlines and build
errors.
Previously I'd just create a new class which inherited:
System.Web.UI.UserControl
And then replace that line in the web user control with the name of my base
class:
ControlBase
For example...
The one thing I have spotted which I think is different is that the web user
controls are using "partial" classes, this would suggest that some where
else in the application is perhaps some more code - maybe this needs to
inherit my base class too?
Any information on this would be handy as I dont seem to be able to inherit
my base class at all in the way I was familiar with.
Cheers
Rob