System.Web.UI.TemplateControl: Method Members

The methods of System.Web.UI.TemplateControl are listed below. For a list of all members, see the TemplateControl Members list.

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

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.