System.Web.UI.TemplateControl Members

The members of System.Web.UI.TemplateControl are listed below.

See Also: Inherited members from System.Web.UI.Control

Protected Constructors

Initializes a new instance of the System.Web.UI.TemplateControl class.

Public Properties

AppRelativeVirtualPathstring.

Gets or sets the application-relative, virtual directory path to the file from which the control is parsed and compiled.

Protected Properties

AutoHandlersint.

The TemplateControl.AutoHandlers property has been deprecated in ASP.NET NET 2.0. It is used by generated classes and is not intended for use within your code.

[read-only]
SupportAutoEventsbool.

Gets a value indicating whether the System.Web.UI.TemplateControl control supports automatic events.

Public Methods

LoadControl(string) : Control

Loads a System.Web.UI.Control object from a file based on a specified virtual path.

LoadControl(Type, object[]) : Control

Loads a System.Web.UI.Control object based on a specified type and constructor parameters.

LoadTemplate(string) : ITemplate

Obtains an instance of the System.Web.UI.ITemplate interface from an external file.

ParseControl(string) : Control

Parses an input string into a System.Web.UI.Control object on the Web Forms page or user control.

ParseControl(string, bool) : Control

Parses an input string into a System.Web.UI.Control object on the ASP.NET Web page or user control.

ReadStringResource() : object

Reads a string resource. The TemplateControl.ReadStringResource method is not intended for use from within your code.

static
ReadStringResource(Type) : object

Reads a string resource. The TemplateControl.ReadStringResource(Type) method is not intended for use from within your code.

Protected Methods

Construct()

Performs design-time logic.

CreateResourceBasedLiteralControl(int, int, bool) : LiteralControl

Accesses literal strings stored in a resource. The TemplateControl.CreateResourceBasedLiteralControl(int, int, bool) method is not intended for use from within your code.

Eval(string) : object

Evaluates a data-binding expression.

Eval(string, string) : string

Evaluates a data-binding expression using the specified format string to display the result.

FrameworkInitialize()

Initializes the control that is derived from the System.Web.UI.TemplateControl class.

GetGlobalResourceObject(string, string) : object

Gets an application-level resource object based on the specified System.Web.Compilation.ResourceExpressionFields.ClassKey and System.Web.Compilation.ResourceExpressionFields.ResourceKey properties.

GetGlobalResourceObject(string, string, Type, string) : object

Gets an application-level resource object based on the specified System.Web.Compilation.ResourceExpressionFields.ClassKey and System.Web.Compilation.ResourceExpressionFields.ResourceKey properties, object type, and property name of the resource.

GetLocalResourceObject(string) : object

Gets a page-level resource object based on the specified System.Web.Compilation.ResourceExpressionFields.ResourceKey property.

GetLocalResourceObject(string, Type, string) : object

Gets a page-level resource object based on the specified System.Web.Compilation.ResourceExpressionFields.ResourceKey property, object type, and property name.

OnAbortTransaction(EventArgs)

Raises the TemplateControl.AbortTransaction event.

OnCommitTransaction(EventArgs)

Raises the TemplateControl.CommitTransaction event.

OnError(EventArgs)

Raises the TemplateControl.Error event.

SetStringResourcePointer(object, int)

Sets a pointer to a string resource. The TemplateControl.SetStringResourcePointer(object, int) method is used by generated classes and is not intended for use from within your code.

WriteUTF8ResourceString(HtmlTextWriter, int, int, bool)

Writes a resource string to an System.Web.UI.HtmlTextWriter control. The TemplateControl.WriteUTF8ResourceString(HtmlTextWriter, int, int, bool) method is used by generated classes and is not intended for use from within your code.

XPath(string) : object

Evaluates an XPath data-binding expression.

XPath(string, string) : string

Evaluates an XPath data-binding expression using the specified format string to display the result.

XPath(string, System.Xml.IXmlNamespaceResolver) : object

Evaluates an XPath data-binding expression using the specified prefix and namespace mappings for namespace resolution.

XPath(string, string, System.Xml.IXmlNamespaceResolver) : string

Evaluates an XPath data-binding expression using the specified prefix and namespace mappings for namespace resolution and the specified format string to display the result.

XPathSelect(string) : IEnumerable

Evaluates an XPath data-binding expression and returns a node collection that implements the IEnumerable interface.

XPathSelect(string, System.Xml.IXmlNamespaceResolver) : IEnumerable

Evaluates an XPath data-binding expression using the specified prefix and namespace mappings for namespace resolution and returns a node collection that implements the IEnumerable interface.

Public Events

AbortTransaction

Occurs when a user ends a transaction.

CommitTransaction

Occurs when a transaction completes.

Error

Occurs when an unhandled exception is thrown.

Explicitly Implemented Interface Members

System.Web.UI.IFilterResolutionService.CompareFilters

Returns a value that indicates whether a parent/child relationship exists between two specified device filters.

System.Web.UI.IFilterResolutionService.EvaluateFilter

Returns a value that indicates whether the specified filter is a type of the current filter object.