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