This documentation is archived and is not being maintained.
CalendarDataBindingHandler.DataBindControl Method
.NET Framework 1.1
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:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
CalendarDataBindingHandler Class | CalendarDataBindingHandler Members | System.Web.UI.Design Namespace
Show: