C# Class OpenSlx.Lib.Web.Controls.BindingSourceParameter

A custom parameter, for use as parameter to a standard ASP.NET datasource (SqlDataSource, ObjectDataSource etc). The value will be taken from the BindingSource of the current context.
Inheritance: System.Web.UI.WebControls.Parameter
Mostrar archivo Open project: nicocrm/OpenSlx

Private Properties

Property Type Description
FindParentSmartPart EntityBoundSmartPart

Public Methods

Method Description
BindingSourceParameter ( ) : System

Sets defaults

Protected Methods

Method Description
Evaluate ( System context, System control ) : object

Retrieve value for the parameter.

Private Methods

Method Description
FindParentSmartPart ( Control boundControl ) : EntityBoundSmartPart

Attempt to find the smart part containing this control.

Method Details

BindingSourceParameter() public method

Sets defaults
public BindingSourceParameter ( ) : System
return System

Evaluate() protected method

Retrieve value for the parameter.
protected Evaluate ( System context, System control ) : object
context System
control System
return object