Interface IwwWebDataControl

Provides base interface for Databinding the controls in this assembly. Each
of the controls implements this interface to support the logic of the
inding and to allow the renderers to find bound controls on a Web form.

he key methods are BindData and UnbindData which handle binding data from
he datasource to the control and from the control back to the datasource.
hese methods simply call into the wwWebDataHelper class's relative methods
to perform the actual logic of databinding using Reflection.


public interface IwwWebDataControl

Interface Members

MemberDescription

BindData

This method is the core method that provides databinding for the control.

public abstract void BindData( Control WebForm );

UnbindData

Unbinds data back into its BindingSource.

public abstract void UnbindData( Control WebForm );

BindingErrorMessage

Error message that is set if unbinding fails.

BindingProperty

Field or type that this control is bound to

BindingSource

The name of the object that the control is bound to. This is the base object

BindingSourceMember

The BindingSource property to bind to set as a string. Uses Reflection to retrieve and set

BindingSourceObject

The object that the control is bound to as an object Reference.

DisplayFormat

A format string used to display the data when binding

ErrorIconUrl

The Url to the Image that handles the error display.

ErrorMessageLocation

Determines the location and type of the Error Message and Icon

Text

The text property is part of this interface to force implementation of it by controls that don't have a native Text property.

UserFieldName

The fieldname the user sees when an error occurs.

Requirements

Namespace: Westwind.Web.Controls
Assembly: wwwebcontrols.dll

© West Wind Technologies, 1996-2018 • Updated: 05/06/05
Comment or report problem with topic