This class provides two way databinding to the standard WebForm text box class. It enhances the existing class by adding declarative binding and unbinding members.
This class works in conjunction with the wwWebForm class to provide two way datbinding features to you Web forms.
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.TextBox
<b>Westwind.Web.Controls.wwWebTextBox</b>
public class wwWebTextBox : TextBox, IwwWebDataControl
Class Members
Member | Description | |
---|---|---|
Constructor |
Default constructor for the wwWebTextBox class. | |
BindData |
Binds the control to the control BindingSource. public Void BindData(Control WebForm) |
|
UnbindData |
Unbinds the control from the BindingSource by loading the BindingSource with the value in the control. public Void UnbindData(Control WebForm) |
|
BindingErrorMessage |
Error message set when a data unbinding error occurs. | |
BindingProperty |
The property that is set by the databinding. | |
BindingSource |
The object that is to be bound to as a string name based on the container. | |
BindingSourceMember |
The property that is to be bound to. | |
BindingSourceObject |
The object that is to be bound to as an object reference. | |
DisplayFormat |
The format string used to format this field when binding. | |
ErrorIconUrl |
The Url to the Image used for error display if icons are used. | |
ErrorMessageLocation |
Determines where and how a binding error message is displayed. | |
IsRequired |
Determines whether the field can be left blank. If left blank a binding error | |
UserFieldName |
The format string used to format this field when binding. Defaults to fieldname with txtStripped. |
Requirements
Namespace: Westwind.Web.ControlsAssembly: wwwebcontrols.dll
© West Wind Technologies, 1996-2018 • Updated: 05/17/05
Comment or report problem with topic