Wrapping System.Web.UI.MasterPage - Page_Load Event

Discussion in 'ASP .Net Building Controls' started by Philip, Mar 21, 2006.

  1. Philip

    Philip Guest

    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 ?

    Philip, Mar 21, 2006
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.