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

Class CheckBoxColumnTemplate

The CheckBoxColumnTemplate provides a Template for the CheckBoxColumn.

Inheritance
System.Object
CheckBoxColumnTemplate
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class CheckBoxColumnTemplate : ITemplate

Constructors

| Improve this Doc View Source

CheckBoxColumnTemplate()

Initializes a new instance of the CheckBoxColumnTemplate class.

Declaration
public CheckBoxColumnTemplate()
| Improve this Doc View Source

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 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.

Declaration
public string DataField { get; set; }
Property Value
Type Description
System.String

A String.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| 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.

| Improve this Doc View Source

ItemType

Gets or sets the type of Template to Create.

Declaration
public ListItemType ItemType { get; set; }
Property Value
Type Description
ListItemType

A String.

| Improve this Doc View Source

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 Source

InstantiateIn(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 Source

CheckedChanged

The CheckBoxColumnTemplate provides a Template for the CheckBoxColumn.

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