D
DanG
Howdy,
On past .NET projects, I only had System.Web.UI.Page forms. One
application needed a set of functions to do processing against the
Page, Session and Request objects associated with the current Form. I
handled this by making a new class (BasePage) which inherits from
System.Web.UI.Page. Each form would then inherit from BasePage rather
than System.Web.UI.Page.
I am now on a project that has both System.Web.UI.Page and
System.Web.UI.UserControl forms. I want to do the same type of
BasePage processing for the UserControl screens, but I can't inherit
them from BasePage. Currently, I made two classes that are identical,
except that each inherit from the respective System.Web.UI object.
Obviously, I would like a single class that would handle both types of
forms, but I can't figure out the proper way to do it. I could use a
clue.
Thanks
Dan
On past .NET projects, I only had System.Web.UI.Page forms. One
application needed a set of functions to do processing against the
Page, Session and Request objects associated with the current Form. I
handled this by making a new class (BasePage) which inherits from
System.Web.UI.Page. Each form would then inherit from BasePage rather
than System.Web.UI.Page.
I am now on a project that has both System.Web.UI.Page and
System.Web.UI.UserControl forms. I want to do the same type of
BasePage processing for the UserControl screens, but I can't inherit
them from BasePage. Currently, I made two classes that are identical,
except that each inherit from the respective System.Web.UI object.
Obviously, I would like a single class that would handle both types of
forms, but I can't figure out the proper way to do it. I could use a
clue.
Thanks
Dan