14 references to TemplateControl
System.Web (14)
UI\BindableTemplateBuilder.cs (2)
66
Debug.Assert(subBuilderControlBuilder.
TemplateControl
!= null, "TemplateControl should not be null in no-compile pages. We need it for the FilterResolutionService.");
69
serviceContainer.AddService(typeof(IFilterResolutionService), subBuilderControlBuilder.
TemplateControl
);
UI\ControlBuilder.cs (10)
299
return
TemplateControl
;
347
return
TemplateControl
as IThemeResolutionService;
2091
if (!InDesigner &&
TemplateControl
!= null) {
2092
control.ApplyStyleSheetSkin(
TemplateControl
.Page);
2323
if (
TemplateControl
!= null) {
2324
expressionContext = new ExpressionBuilderContext(
TemplateControl
);
2383
Debug.Assert(
TemplateControl
!= null, "TemplateControl should not be null in no-compile pages. We need it for the FilterResolutionService.");
2386
container.AddService(typeof(IFilterResolutionService),
TemplateControl
);
2501
TemplateControl templateControl =
TemplateControl
;
2505
Type templateControlType =
TemplateControl
.GetType();
UI\WebControls\ContentPlaceHolder.cs (2)
54
MasterPage masterPage =
TemplateControl
as MasterPage;
72
MasterPage masterPage =
TemplateControl
as MasterPage;