FoodCandy!

RowSelectorField Class Reference

Represents a row selector field which can be used inside a System::Web::UI::WebControls::GridView. More...

List of all members.


Public Member Functions

 RowSelectorField ()
 Initializes a new instance of the Wilco::Web::UI::WebControls::RowSelectorField class.
override void InitializeCell (DataControlFieldCell cell, DataControlCellType cellType, DataControlRowState rowState, int rowIndex)
 Adds text or controls to a cell's control collection.

Protected Member Functions

override DataControlField CreateField ()
 Creates an empty row selector field.
virtual void InitializeHeader (DataControlFieldCell cell)
 Initializes the header.
virtual void InitializeDataCell (DataControlFieldCell cell)
 Initializes the data cell.
virtual void OnSelectedIndexChanged (EventArgs args)
 Raises the Wilco::Web::UI::WebControls::RowSelectorField::SelectedIndexChanged event.

Properties

EventHandlerList Events
 Gets the events.
bool AllowSelectAll
 Gets or sets whether all rows can be (de)selected at once.
bool AutoPostBack
 Gets or sets whether the field should postback when the selection changes.
string DataValueField
 Gets or sets the data value field.
virtual int[] SelectedIndices
 Gets or sets the indices of the rows that are selected.
ListSelectionMode SelectionMode
 Gets or sets the selection mode.

Events

event EventHandler SelectedIndexChanged
 Occurs when the selection inside the column changed.

Detailed Description

Represents a row selector field which can be used inside a System::Web::UI::WebControls::GridView.


Member Function Documentation

override DataControlField CreateField  )  [protected]
 

Creates an empty row selector field.

Returns:

override void InitializeCell DataControlFieldCell  cell,
DataControlCellType  cellType,
DataControlRowState  rowState,
int  rowIndex
 

Adds text or controls to a cell's control collection.

Parameters:
cell 
cellType 
rowState 
rowIndex 

virtual void InitializeDataCell DataControlFieldCell  cell  )  [protected, virtual]
 

Initializes the data cell.

Parameters:
cell 

virtual void InitializeHeader DataControlFieldCell  cell  )  [protected, virtual]
 

Initializes the header.

Parameters:
cell 

virtual void OnSelectedIndexChanged EventArgs  args  )  [protected, virtual]
 

Raises the Wilco::Web::UI::WebControls::RowSelectorField::SelectedIndexChanged event.

Parameters:
args 

Property Documentation

string DataValueField [get, set]
 

Gets or sets the data value field.

This field is ignored when the SelectionMode property is set to

Single

.


The documentation for this class was generated from the following file:
  • RowSelectorField.cs
© FoodCandy, 2006-2007, All Rights Reserved | FoodCandy | Sun Oct 7 10:48:54 2007 | Doxygen 1.4.6-NO