This documentation is archived and is not being maintained.

CalendarDataBindingHandler.DataBindControl Method

Sets the calendar's date to the current day if the SelectedDate property is data-bound.

[Visual Basic]
Overrides Public Sub DataBindControl( _
   ByVal designerHost As IDesignerHost, _
   ByVal control As Control _
)
[C#]
public override void DataBindControl(
 IDesignerHost designerHost,
 Control control
);
[C++]
public: void DataBindControl(
 IDesignerHost* designerHost,
 Control* control
);
[JScript]
public override function DataBindControl(
   designerHost : IDesignerHost,
 control : Control
);

Parameters

designerHost
The IDesignerHost for the document that contains the control.
control
The Control to add data binding to.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

CalendarDataBindingHandler Class | CalendarDataBindingHandler Members | System.Web.UI.Design Namespace

Show: