Click or drag to resize
GridTemplateColumn Class
Displays each item in the column in accordance with a specified templates (item, edit item, header and footer templates). This allows you to provide custom controls in the column.
Inheritance Hierarchy
SystemObject
  Kettic.AspNet.ControlsGridColumn
    Kettic.AspNet.ControlsGridEditableColumn
      Kettic.AspNet.ControlsGridTemplateColumn

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public class GridTemplateColumn : GridEditableColumn

The GridTemplateColumn type exposes the following members.

Constructors
  NameDescription
Public methodGridTemplateColumn
Top
Methods
Properties
  NameDescription
Public propertyAggregate

Gets or sets the field name from the specified data source to bind to the GridTemplateColumn.

Public propertyAllowFiltering
Gets or sets whether the column data can be filtered. The default value is true.
Public propertyDataField
Gets or sets a string, specifying which DataField from the data source the control will use to handle the automatic filtering.
Public propertyEditItemTemplate
Gets or sets the ItemTemplate, which is rendered in the control in edit mode.
Public propertyFooterAggregateFormatString
Public propertyFooterTemplate
Gets or sets the template, which will be rendered in the footer of the template column.
Public propertyHeaderTemplate
Gets or sets the template, which will be rendered in the header of the template column.
Public propertyInitializeTemplatesFirst
Set to false if templates should overwrite other controls in header cell (sort image, etc)
Public propertyIsEditable
Gets a Boolean value, indicating whether the column is editable. If a template column is editable, it will render the contents of the EditItemTemplate in the edit form. If there are no contents in the EditItemTemplate, the column will not be editable.
(Overrides GridColumnIsEditable.)
Public propertyItemTemplate
Gets or sets the ItemTemplate, which is rendered in the control in normal (non-Edit) mode.
Top
See Also