This control provides two way databinding, binding validation and limited formatting to the DropDownList control,
but does this only for the controls' value member (simple databinding). List based binding still works
as you would expect.
Note that this control works without ViewState to assign values back. It does so after the OnLoad()
event call on post backs by retrieving the previously posted value.
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.BaseDataBoundControl
System.Web.UI.WebControls.DataBoundControl
System.Web.UI.WebControls.ListControl
System.Web.UI.WebControls.DropDownList
<b>Westwind.Web.Controls.wwWebDropDownList</b>
public class wwWebDropDownList : DropDownList, IwwWebDataControl
Class Members
Member | Description | |
---|---|---|
Constructor |
||
BindData |
Binds the control to the control BindingSource. public sealed void BindData( Control WebForm ); |
|
GetSelectedValue |
Retrieves the real selected value of the control. Used internally to read the public void GetSelectedValue(); |
|
UnbindData |
Unbinds the control from the BindingSource by loading the BindingSource with the value in the control. public sealed 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 |
he format string used to format this field when binding | |
DontBind |
Allows overriding the inbound binding process. | |
ErrorIconUrl |
The Url to the Image used for error display if icons are used. | |
ErrorMessageLocation |
||
Text |
||
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/06/05
Comment or report problem with topic