Returns a specific DataBinding Item for a given control. Always returns an item even if the Control is not found. If you need to check whether this is a valid item check the BindingSource property for being blank. Extender Property Get method

Namespace:  Mindscape.LightSpeed.Web.WebForms
Assembly:  Mindscape.LightSpeed.Web (in Mindscape.LightSpeed.Web.dll)
Version: 4.0.1000.1 (4.0.0.0)

Syntax

C#
public EntityDataBindingItem GetDataBindingItem(
	Control control
)
Visual Basic (Declaration)
Public Function GetDataBindingItem ( _
	control As Control _
) As EntityDataBindingItem

Parameters

control
Type: System.Web.UI..::.Control
The control which we wish to return an EntityDataBindingItem for

Return Value

The EntityDataBindingItem which is related to the control, this will be returned from BindingItems if an entry already exists

See Also