Class DNNMultiStateBoxColumn
The DNNMultiStateBoxColumn control provides a DNNMultiState Box column for a Data Grid.
Inheritance
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class DNNMultiStateBoxColumn : TemplateColumn
Constructors
| Improve this Doc View SourceDNNMultiStateBoxColumn()
Initializes a new instance of the DNNMultiStateBoxColumn class. Constructs the DNNMultiStateBoxColumn.
Declaration
public DNNMultiStateBoxColumn()
DNNMultiStateBoxColumn(Boolean)
Initializes a new instance of the DNNMultiStateBoxColumn class. Constructs the MultiStateBoxColumn, with an optional AutoPostBack (where each change of state of the control causes a Post Back).
Declaration
public DNNMultiStateBoxColumn(bool autoPostBack)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | autoPostBack | Optional set the control to postback. |
Properties
| Improve this Doc View SourceAutoPostBack
Gets or sets a value indicating whether the column fires a postback when the control changes.
Declaration
public bool AutoPostBack { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
DataField
Gets or sets the Data Field that the column should bind to changed.
Declaration
public string DataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A Boolean. |
Enabled
Gets or sets a value indicating whether an flag that indicates whether the control is 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 control is Enabled changed.
Declaration
public string EnabledField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
ImagePath
Gets or sets the image path of the DNNMultiStateBox.
Declaration
public string ImagePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | A Boolean. |
SelectedStateKey
Gets or sets the selected state of the DNNMultiStateBox (unless DataBound).
Declaration
public string SelectedStateKey { get; set; }
Property Value
Type | Description |
---|---|
System.String | A Boolean. |
States
Gets or sets the state collection of the DNNMultiStateBox.
Declaration
public DNNMultiStateCollection States { get; set; }
Property Value
Type | Description |
---|---|
DNNMultiStateCollection | A Boolean. |
Methods
| Improve this Doc View SourceInitialize()
Initialises the Column.
Declaration
public override void Initialize()