C# Class Adf.Web.UI.RowSelectorColumn

Inheritance: System.Web.UI.WebControls.DataControlField
Show file Open project: NLADP/ADF

Private Properties

Property Type Description
InitializeCell void
RegisterForSelectAll void
RegisterSelectAllScript void
SetIndexValue void
selectorDataBinding void
selector_ServerChange void

Public Methods

Method Description
FindColumn ( GridView grid ) : RowSelectorColumn

Finds the first RowSelectorColumn in the given GridView.

FindColumn ( GridView grid, Int32 startIndex ) : RowSelectorColumn

Finds the first RowSelectorColumn in the given GridView after or at the given column index.

SelectAll ( ) : void

Checks In all row selecter CheckBoxes found in a GridView control.

Protected Methods

Method Description
CreateField ( ) : System.Web.UI.WebControls.DataControlField

Provides the creation of child control.

OnSelectionChanged ( EventArgs e ) : void

Raises the SelectionChanged event.

Private Methods

Method Description
InitializeCell ( System.Web.UI.WebControls.DataControlFieldCell cell, DataControlCellType cellType, DataControlRowState rowState, int rowIndex ) : void
RegisterForSelectAll ( ParticipantCheckBox selector ) : void
RegisterSelectAllScript ( ) : void
SetIndexValue ( System.Web.UI.HtmlControls.HtmlInputRadioButton radioSelector ) : void
selectorDataBinding ( Object sender, EventArgs e ) : void

Set the value of given selector.

selector_ServerChange ( object sender, EventArgs e ) : void

The SelectionChanged event.

Method Details

CreateField() protected method

Provides the creation of child control.
protected CreateField ( ) : System.Web.UI.WebControls.DataControlField
return System.Web.UI.WebControls.DataControlField

FindColumn() public static method

Finds the first RowSelectorColumn in the given GridView.
public static FindColumn ( GridView grid ) : RowSelectorColumn
grid System.Web.UI.WebControls.GridView The to search.
return RowSelectorColumn

FindColumn() public static method

Finds the first RowSelectorColumn in the given GridView after or at the given column index.
public static FindColumn ( GridView grid, Int32 startIndex ) : RowSelectorColumn
grid System.Web.UI.WebControls.GridView The to search.
startIndex System.Int32 The index of the column to start the search.
return RowSelectorColumn

OnSelectionChanged() protected method

Raises the SelectionChanged event.
protected OnSelectionChanged ( EventArgs e ) : void
e System.EventArgs
return void

SelectAll() public method

Checks In all row selecter CheckBoxes found in a GridView control.
public SelectAll ( ) : void
return void