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

A specialised BoundField that adds DropDownList functionality to the base class. It uses the EntityDropDownList to bind to a datasource. Data is cached so that it is only retrieved once for all bound rows
Inheritance: System.Web.UI.WebControls.BoundField
ファイルを表示 Open project: netTiers/netTiers

Private Properties

Property Type Description
DataSourceCallback void
HandleDataBinding void
HandleDataBound void

Public Methods

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

Fills the specified object with the values from the specified object.

Protected Methods

Method Description
GetDesignTimeValue ( ) : object

Retrieves the value used for a field's value when rendering the object in a designer.

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

Initializes the specified object to the specified row state.

Private Methods

Method Description
DataSourceCallback ( IEnumerable data ) : void

Callback from the datasourceview.

HandleDataBinding ( object sender, EventArgs e ) : void

Handles the data binding.

HandleDataBound ( object sender, EventArgs e ) : void

Handles the data bound.

Method Details

ExtractValuesFromCell() public method

Fills the specified object with the values from the specified object.
public ExtractValuesFromCell ( System dictionary, System.Web.UI.WebControls.DataControlFieldCell cell, DataControlRowState rowState, bool includeReadOnly ) : void
dictionary System A used to store the values of the specified cell.
cell System.Web.UI.WebControls.DataControlFieldCell The that contains the values to retrieve.
rowState DataControlRowState One of the values.
includeReadOnly bool true to include the values of read-only fields; otherwise, false.
return void

GetDesignTimeValue() protected method

Retrieves the value used for a field's value when rendering the object in a designer.
protected GetDesignTimeValue ( ) : object
return object

InitializeDataCell() protected method

Initializes the specified object to the specified row state.
protected InitializeDataCell ( System.Web.UI.WebControls.DataControlFieldCell cell, DataControlRowState rowState ) : void
cell System.Web.UI.WebControls.DataControlFieldCell The to initialize.
rowState DataControlRowState One of the values.
return void