C# Class Nettiers.AdventureWorks.Web.UI.BoundRadioButtonField

Represents a Boolean field in a data-bound control that is displayed as a single radio button in the read mode, and two options radio button list in edit mode.
Inheritance: System.Web.UI.WebControls.CheckBoxField
Afficher le fichier Open project: netTiers/netTiers

Méthodes publiques

Méthode Description
BoundRadioButtonField ( ) : System

ctor

ExtractValuesFromCell ( IOrderedDictionary dictionary, System.Web.UI.WebControls.DataControlFieldCell cell, DataControlRowState rowState, bool includeReadOnly ) : void

This method is called by the ExtractRowValues methods of GridView and DetailsView. Retrieve the current value of the cell from the Checked state of the Radio button.

radioList_DataBound ( object sender, EventArgs e ) : void

Occurs after the server control binds to a data source.

Méthodes protégées

Méthode Description
GetDesignTimeValue ( ) : object

Gets a default value for a basic design-time experience. Since it would look odd, even at design time, to have more than one radio button selected, make sure that none are selected.

InitializeDataCell ( System.Web.UI.WebControls.DataControlFieldCell cell, DataControlRowState rowState ) : void

This method adds a RadioButton or RadioButtonList controls and any other content to the cell's Controls collection.

Method Details

BoundRadioButtonField() public méthode

ctor
public BoundRadioButtonField ( ) : System
Résultat System

ExtractValuesFromCell() public méthode

This method is called by the ExtractRowValues methods of GridView and DetailsView. Retrieve the current value of the cell from the Checked state of the Radio button.
public ExtractValuesFromCell ( IOrderedDictionary dictionary, System.Web.UI.WebControls.DataControlFieldCell cell, DataControlRowState rowState, bool includeReadOnly ) : void
dictionary IOrderedDictionary
cell System.Web.UI.WebControls.DataControlFieldCell
rowState DataControlRowState
includeReadOnly bool
Résultat void

GetDesignTimeValue() protected méthode

Gets a default value for a basic design-time experience. Since it would look odd, even at design time, to have more than one radio button selected, make sure that none are selected.
protected GetDesignTimeValue ( ) : object
Résultat object

InitializeDataCell() protected méthode

This method adds a RadioButton or RadioButtonList controls and any other content to the cell's Controls collection.
protected InitializeDataCell ( System.Web.UI.WebControls.DataControlFieldCell cell, DataControlRowState rowState ) : void
cell System.Web.UI.WebControls.DataControlFieldCell
rowState DataControlRowState
Résultat void

radioList_DataBound() public méthode

Occurs after the server control binds to a data source.
public radioList_DataBound ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void