Wrapping System.Web.UI.MasterPage - Page_Load Event

P

Philip

I am writing a class (MyMasterPage) which wraps the System.Web.UI.MasterPage
class... and then I inherit from this MyMasterPage class from within my
master page (SiteTemplate.master.cs).

When SiteTemplate.master is being references by a aspx web page, I want both
the SiteTemplate.master.cs class and the inherited MyMasterPage class to
receive the Page_Load event .... is there a means for this to happen and
happen in a way which is transparent to the SiteTemplate.master.cs class
???.... or MUST I invoke the MyMasterPage Page_Load method from the
SiteTemplate.master.cs class ?

Thanks
 

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

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top