inherit from my custom page

L

LeAnne

I've created a custom Page class (which in turn inehrts from Page class).
This class has some generic code which i'd like to include into every page.

At the moment, I keep modifying the pages and changing the Inherits line to
inherit from my page class.
But I'm sure there should be an easier way.

From what i know master pages applies only to the UI, but not the base page
class it self.
How can i achieve my requirement with the least amount of work.

I.e. when ever i create a new web page, I'd like it to inherit from my
custom page class.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,539
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top