Class CheckBoxColumnTemplate
The CheckBoxColumnTemplate provides a Template for the CheckBoxColumn.
Inheritance
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class CheckBoxColumnTemplate : ITemplate
Constructors
| Improve this Doc View SourceCheckBoxColumnTemplate()
Initializes a new instance of the CheckBoxColumnTemplate class.
Declaration
public CheckBoxColumnTemplate()
CheckBoxColumnTemplate(ListItemType)
Initializes a new instance of the CheckBoxColumnTemplate class.
Declaration
public CheckBoxColumnTemplate(ListItemType itemType)
Parameters
Type | Name | Description |
---|---|---|
ListItemType | itemType |
Properties
| Improve this Doc View SourceAutoPostBack
Gets or sets a value indicating whether gets and sets whether the column fires a postback when any check box is changed.
Declaration
public bool AutoPostBack { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
Checked
Gets or sets a value indicating whether the checkbox is checked (unless DataBound).
Declaration
public bool Checked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
DataField
Gets or sets the Data Field that the column should bind to.
Declaration
public string DataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
DesignMode
Gets or sets a value indicating whether gets or sets the Design Mode of the Column.
Declaration
public bool DesignMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
Enabled
Gets or sets a value indicating whether an flag that indicates whether the hcekboxes are enabled (this is overridden if the EnabledField is set changed.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
EnabledField
Gets or sets the Data Field that determines whether the checkbox is Enabled changed.
Declaration
public string EnabledField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
HeaderCheckBox
Gets or sets a value indicating whether a flag that indicates whether there is a checkbox in the Header that sets all the checkboxes.
Declaration
public bool HeaderCheckBox { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
ItemType
Gets or sets the type of Template to Create.
Declaration
public ListItemType ItemType { get; set; }
Property Value
Type | Description |
---|---|
ListItemType | A String. |
Text
Gets or sets the Text to display in a Header Template.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
Methods
| Improve this Doc View SourceInstantiateIn(Control)
InstantiateIn is called when the Template is instantiated by the parent control.
Declaration
public void InstantiateIn(Control container)
Parameters
Type | Name | Description |
---|---|---|
Control | container | The container control. |
Events
| Improve this Doc View SourceCheckedChanged
The CheckBoxColumnTemplate provides a Template for the CheckBoxColumn.
Declaration
public event DNNDataGridCheckedColumnEventHandler CheckedChanged
Event Type
Type | Description |
---|---|
DNNDataGridCheckedColumnEventHandler |