System.Web.UI.WebControls.TemplateField Members

The members of System.Web.UI.WebControls.TemplateField are listed below.

See Also: Inherited members from System.Web.UI.WebControls.DataControlField

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.TemplateField class.

Public Properties

AlternatingItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for displaying the alternating items in a System.Web.UI.WebControls.TemplateField object.

ConvertEmptyStringToNullbool.

Gets or sets a value indicating whether the value that the System.Web.UI.WebControls.TemplateField object is bound to should be converted to null if it is string.Empty.

EditItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for displaying an item in edit mode in a System.Web.UI.WebControls.TemplateField object.

FooterTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for displaying the footer section of a System.Web.UI.WebControls.TemplateField object.

HeaderTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for displaying the header section of a System.Web.UI.WebControls.TemplateField object.

InsertItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for displaying an item in insert mode in a System.Web.UI.WebControls.TemplateField object.

ItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the template for displaying an item in a data-bound control.

Public Methods

override
ExtractValuesFromCell(System.Collections.Specialized.IOrderedDictionary, DataControlFieldCell, DataControlRowState, bool)

Extracts the value of the data control fields as specified by one or more two-way binding statements (DataBind) from the current table cell and adds the values to the specified System.Collections.Specialized.IOrderedDictionary collection.

override
InitializeCell(DataControlFieldCell, DataControlCellType, DataControlRowState, int)

Adds text or controls to a cell's controls collection.

override
ValidateSupportsCallback()

Determines whether the controls contained in a System.Web.UI.WebControls.TemplateField object support page callbacks.

Protected Methods

override
CopyProperties(DataControlField)

Copies the properties of the current System.Web.UI.WebControls.TemplateField-derived object to the specified System.Web.UI.WebControls.DataControlField object.

override
CreateField() : DataControlField

Creates a new System.Web.UI.WebControls.TemplateField object.