Version

EnsureSharedCalendar(Page) Method

Ensure that shared default calendar is created and added to form.
Syntax
'Declaration
 
Public Overloads Shared Sub EnsureSharedCalendar( _
   ByVal page As Page _
) 
public static void EnsureSharedCalendar( 
   Page page
)

Parameters

page
Reference to Page
Remarks

That method can be used when WebDatePicker is located in FormView or some other containers, which block access to Page.LoadComplete event or if shared calendar is not created for other reasons.

That method can be called within Page.OnLoad event.

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