The purpose of these two classes to allow you to use master pages inside your library. They can be used as a direct replacements for System.Web.UI.Page and System.Web.UI.MasterPage as the inherited types for the base classes.

In order for the PrecompiledPage to find its PrecompiledMasterPage at runtime you need to add an an extra attribute to the Page directive to compilement the standard MasterPageFile. Add the class name of the master page to a PrecompiledMasterPageClass attribute will be passed to the PrecompiledPage's property with the same name.

Last edited Aug 9, 2006 at 10:38 AM by grahamdyson, version 1


No comments yet.