TemplateControl

TemplateControldisposable

System.Web.UI (system.web.dll)abstract class

This abstract class provides basic functionality for template controls, which include Page and UserControl. This functionality includes transaction support and various properties, methods, and events that are used and managed transparently by the ASP.NET framework.

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 void OnAbortTransaction(EventArgs e);    protected virtual void OnCommitTransaction(EventArgs e);    protected virtual void OnError(EventArgs e);    protected void SetStringResourcePointer(object stringResourcePointer, int maxResourceOffset);    protected void WriteUTF8ResourceString(HtmlTextWriter output, int offset, int size, bool fAsciiOnly); // Events    public event EventHandler AbortTransaction;    public event EventHandler CommitTransaction;    public event EventHandler Error; }

Hierarchy

System.Object Control(System.ComponentModel.IComponent, System.IDisposable, IParserAccessor, IDataBindingsAccessor) TemplateControl(INamingContainer)

Subclasses

Page, UserControl



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net