• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class CheckBoxColumn

The CheckBoxColumn control provides a Check Box column for a Data Grid.

Inheritance
System.Object
CheckBoxColumn
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class CheckBoxColumn : TemplateColumn

Constructors

| Improve this Doc View Source

CheckBoxColumn()

Initializes a new instance of the CheckBoxColumn class. Constructs the CheckBoxColumn.

Declaration
public CheckBoxColumn()
| Improve this Doc View Source

CheckBoxColumn(Boolean)

Initializes a new instance of the CheckBoxColumn class. Constructs the CheckBoxColumn, with an optional AutoPostBack (where each change of state of a check box causes a Post Back).

Declaration
public CheckBoxColumn(bool autoPostBack)
Parameters
Type Name Description
System.Boolean autoPostBack

Optional set the checkboxes to postback.

Properties

| Improve this Doc View Source

AutoPostBack

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Enabled

Gets or sets a value indicating whether an flag that indicates whether the checkboxes 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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Methods

| Improve this Doc View Source

Initialize()

Initialises the Column.

Declaration
public override void Initialize()

Events

| Improve this Doc View Source

CheckedChanged

The CheckBoxColumn control provides a Check Box column for a Data Grid.

Declaration
public event DNNDataGridCheckedColumnEventHandler CheckedChanged
Event Type
Type Description
DNNDataGridCheckedColumnEventHandler

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS