
TemplateControlParser | 675
UI Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ Control(System.ComponentModel.IComponent, System.IDisposable,
IParserAccessor, IDataBindingsAccessor)
➝ TemplateControl(INamingContainer)
Subclasses
Page, UserControl
TemplateControlParser
System.Web.UI (system.web.dll)
abstract class
This abstract class includes some of the functionality for parsing ASP.NET files and
interpreting tags as controls. PageParser derives from this class. It is not used in your
code.
Hierarchy
System.Object ➝ BaseParser ➝ TemplateParser ➝ TemplateControlParser
Subclasses
PageParser
public abstract class TemplateControl : Control, INamingContainer {
// Protected Constructors
protected TemplateControl();
// Protected Instance Properties
protected virtual int AutoHandlers{set; get; }
protected virtual bool SupportAutoEvents{get; }
// Public Static Methods
public static object ReadStringResource( Type t);
// Public Instance Methods
public Control LoadControl( string virtualPath);
public ITemplate LoadTemplate( string virtualPath);
public Control ParseControl( string content);
// Protected Instance Methods
protected virtual void Construct();
protected LiteralControl CreateResourceBasedLiteralControl(int offset, int size, bool fAsciiOnly);
protected virtual void FrameworkInitialize();
protected virtual ...