TemplateField Methods
.NET Framework 3.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| ExtractValuesFromCell | Overridden. 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 IOrderedDictionary collection. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| Initialize | Performs basic instance initialization for a data control field. (inherited from DataControlField) |
| InitializeCell | Overridden. Adds text or controls to a cell's controls collection. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Returns a string that represents this DataControlField object. (inherited from DataControlField) |
| ValidateSupportsCallback | Overridden. Determines whether the controls contained in a TemplateField object support page callbacks. |
| Name | Description | |
|---|---|---|
| CloneField | Creates a duplicate copy of the current DataControlField-derived object. (inherited from DataControlField) |
| CopyProperties | Overridden. Copies the properties of the current TemplateField-derived object to the specified DataControlField object. |
| CreateField | Overridden. Creates a new TemplateField object. |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| LoadViewState | Restores the data source view's previously saved view state. (inherited from DataControlField) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| OnFieldChanged | Raises the FieldChanged event. (inherited from DataControlField) |
| SaveViewState | Saves the changes made to the DataControlField view state since the time the page was posted back to the server. (inherited from DataControlField) |
| TrackViewState | Causes the DataControlField object to track changes to its view state so they can be stored in the control's ViewState property and persisted across requests for the same page. (inherited from DataControlField) |
Reference
TemplateField ClassSystem.Web.UI.WebControls Namespace
GridView
GridView.Columns Property
DetailsView
DetailsView.Fields Property
BoundField
ButtonField
CheckBoxField
CommandField
DataControlField
HyperLinkField
AlternatingItemTemplate
EditItemTemplate
FooterTemplate
HeaderTemplate
InsertItemTemplate
ItemTemplate
DataControlField.Visible Property
Community Additions
ADD
Show: