Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page Inheritance

Status
Not open for further replies.

elhaix

Programmer
Jul 31, 2006
115
CA
Hi Gang,

I normally use base classes for pages (master, page).

One thing that bugs me (or just don't yet know how to do) having my content pages access my master page's base class methods.

So:
MasterPage : MasterBaseClass
ContentPage : PageBaseClass

So I don't have to duplicate some methods in MasterBaseClass, what's the setup to have both master and content pages use the same methods?


Thanks.
 
... of course setting up a singleton pattern class will do the trick... but wondering if there is another method.


Thanks.
 
This may be better addressed in forum855

------------------------------------------------------------------------------------------------------------------------
Reason and free inquiry are the only effectual agents against error; they are the natural enemies of error and of error only.

Thomas Jefferson

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top