Provides the System.Web.UI.Page class and the System.Web.UI.UserControl class with a base set of functionality.
See Also: TemplateControl Members
The System.Web.UI.TemplateControl class is an abstract class that provides common properties and methods for the System.Web.UI.Page class and the System.Web.UI.UserControl class. A new instance of the System.Web.UI.TemplateControl is not created directly.
The System.Web.UI.TemplateControl class defines methods supporting declarative data-binding expressions:
Use the erload:System.Web.UI.TemplateControl.Eval method for data-binding expression involving data sources, such as simple properties or expressions.
Use the erload:System.Web.UI.TemplateControl.XPath method for parsing and evaluating an XPath data-binding expression.
Use the erload:System.Web.UI.TemplateControl.XPathSelect method for data-binding against an expression containing an XPath select statement. The result is a node collection that implements the IEnumerable interface.
For more information on data-binding expression, see Data Binding Expression Syntax and ASP.NET Data Binding.