I've created a base class that inherits from System.Web.UI.P age.
I've been using Page_PreInit in the base class to change Themes.
I'm using MasterPages and need a bunch of code in each content page to
manage the UI. For the most part this UI code is the same across many pages
although their will be some conditional circunstances. So I thought "put the
logic in the base class so I don't even have to call any methods in each
content page."
I thought partial classes would also allow me to use a Page_Load event in
the base class but I can't even get a Response.Write to return results.
Noting I've tried several types of accessors in the signature...
protected void Page_Load(objec t sender, EventArgs e)
{ ... }
How can I use a Page_Load event on the base class when using 2.0?
Secondly, might it be a better approach to create my own classes and
App_Code and call methods from each content page anyway?
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee. com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/