Version

InitializeRecurrenceBindings Method

Initializes recurrence bindings at start-up.
Syntax
'Declaration
 
Protected Overridable Function InitializeRecurrenceBindings( _
   ByVal defaultBinding As RecurrenceBinding _
) As RecurrenceBinding
protected virtual RecurrenceBinding InitializeRecurrenceBindings( 
   RecurrenceBinding defaultBinding
)

Parameters

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

Return Value

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

If inheritors override this method to supply a custom subclass of RecurrenceBinding, 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 RecurrenceBinding can handle this method to have their subclass appear in the Properties window at design-time through the RecurrenceBindings property.

If you handle this method, overriding the RegisterDataBindings method becomes unnecessary. The data provider automatically registers RecurrenceBindings 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