30 references to MasterPage
System.Web (29)
Compilation\BuildResult.cs (2)
1178
MasterPage
masterPage = (
MasterPage
) base.CreateInstance();
UI\Control.cs (1)
275
if (namingContainer is Page || namingContainer is
MasterPage
) {
UI\MasterPage.cs (11)
40
MasterPage
master = (
MasterPage
)obj;
58
private
MasterPage
_master;
110
public
MasterPage
Master {
113
_master =
MasterPage
.CreateMaster(this, Context, _masterPageFile, _contentTemplateCollection);
164
internal static
MasterPage
CreateMaster(TemplateControl owner, HttpContext context,
167
Debug.Assert(owner is
MasterPage
|| owner is Page);
169
MasterPage
master = null;
189
if (!typeof(
MasterPage
).IsAssignableFrom(result.InstantiatedType)) {
194
master = (
MasterPage
)result.CreateInstance();
230
internal static void ApplyMasterRecursive(
MasterPage
master, IList appliedMasterFilePaths) {
UI\MasterPageParser.cs (3)
30
internal override Type DefaultBaseType { get { return typeof(System.Web.UI.
MasterPage
); } }
74
Util.CheckAssignableType(typeof(
MasterPage
), _masterPageType);
98
Util.CheckAssignableType(typeof(
MasterPage
), type);
UI\Page.cs (4)
359
private
MasterPage
_master;
938
public
MasterPage
Master {
941
_master =
MasterPage
.CreateMaster(this, Context, _masterPageFile, _contentTemplateCollection);
2685
MasterPage
.ApplyMasterRecursive(Master, appliedMasterPages);
UI\PageParser.cs (3)
186
if (!typeof(
MasterPage
).IsAssignableFrom(type)) {
290
Util.CheckAssignableType(typeof(
MasterPage
), _masterPageType);
534
if (!typeof(
MasterPage
).IsAssignableFrom(type)) {
UI\WebControls\ContentPlaceHolder.cs (5)
54
MasterPage
masterPage = TemplateControl as
MasterPage
;
72
MasterPage
masterPage = TemplateControl as
MasterPage
;
82
private bool PageProvidesMatchingContent(
MasterPage
masterPage) {
System.Web.Extensions (1)
UI\PageRequestManager.cs (1)
258
MasterPage
m = page.Master;