ListControlDataBindingHandler Class

Performs data binding of a ListControl Web server control within a visual designer.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

public ref class ListControlDataBindingHandler : public DataBindingHandler
public class ListControlDataBindingHandler extends DataBindingHandler
public class ListControlDataBindingHandler extends DataBindingHandler
Not applicable.

The ListControlDataBindingHandler class performs design-time data binding of a ListControl control. The ListControlDataBindingHandler class is referenced by the ListControl using the DataBindingHandlerAttribute class.

The DataBindControl method performs the design-time data binding.

This section contains two code examples. The first one demonstrates how to derive a control from the RadioButtonList control and associate it with its data binding handler. The second one demonstrates how to the derive a class from the ListControlDataBindingHandler class.

The following code example shows how to derive the SimpleRadioButtonList control from the RadioButtonList control, and then apply the DataBindingHandlerAttribute attribute to associate the SimpleRadioButtonList control with its data binding handler, the SimpleRadioButtonListDataBindingHandler class.

No code example is currently available or this language may not be supported.

The following code example shows how to derive the SimpleRadioButtonListDataBindingHandler class from the ListControlDataBindingHandler class. It overrides the DataBindControl method to add a message to the associated SimpleRadioButtonList control when that control is data bound.

No code example is currently available or this language may not be supported.

System.Object
   System.Web.UI.Design.DataBindingHandler
    System.Web.UI.Design.WebControls.ListControlDataBindingHandler

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: