Version

InitializeAppointmentBindings Method

Initializes appointment bindings at start-up.
Syntax
'Declaration
 
Protected Overridable Function InitializeAppointmentBindings( _
   ByVal defaultBinding As AppointmentBinding _
) As AppointmentBinding
protected virtual AppointmentBinding InitializeAppointmentBindings( 
   AppointmentBinding defaultBinding
)

Parameters

defaultBinding
Default AppointmentBinding pre-initialized with default binding member property values.

Return Value

An initialized AppointmentBinding object; inheritors may replace the defaultBinding with their own custom subclass.
Remarks

If inheritors override this method to supply a custom subclass of AppointmentBinding, then they must not access any WebScheduleInfo properties. Initialization may take place very early in the ASP.NET page lifecycle, and other WebSchedule controls may not be accessible. Premature access can cause the WebScheduleInfo control to prevent the data provider from connecting to it later on.

Inheritors subclassing a AppointmentBinding can handle this method to have their subclass appear in the Properties window at design-time through the AppointmentBindings property.

If you handle this method, overriding the RegisterDataBindings method becomes unnecessary. The data provider automatically registers AppointmentBindings with it's data bindings collection during relevant operations.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also