Version

WebScheduleInfo Class

Manages and exposes all schedule-related information for one or more WebSchedule view elements.
Syntax
Remarks

The WebScheduleInfo control centralizes all of the date specific and behavioral information common to several WebSchedule view elements. A WebScheduleInfo control itself is non-visual. Instead, it orchestrates several WebSchedule view elements. Applications can access the WebScheduleInfo control from a view by using their WebScheduleInfo property. Every view then shares the same Activity and Resource information without redundancy.

The minimum and maximum dates all WebSchedule view elements will display Activity information for is called the frame interval. This date range will automatically be calculated based on the needs of all attached views, but an application may extend the frame interval by handling the FrameIntervalChanging server-side event.

The ActiveDayUtc property tracks the active date, affecting each view element attached to this instance of the WebScheduleInfo (views may render the active date differently than other dates). By setting the ActiveDayClientSynchronization property an application can enforce synchronization of the active day on the client-side.

Schedule information can be displayed for a single active resource. Resources are the people, places, or things which can have scheduled activities. If an application does not use Resources explicitly, then WebScheduleInfo assumes the existence of the "Unassigned" resource. Applications can tailor their WebSchedule presentation to show schedules for different resources by setting the ActiveResourceName property in the Page_Load event handler.

The WeekRule and FirstDayOfWeek properties are used to calculate the week numbers for a particular year, and determine on which day a week should begin.

WebScheduleInfo can be connected to a WebSchedule data provider that implements the IDataFetch (set on the DataFetch property) and IDataUpdate (set on the DataUpdate property) interfaces. A data provider manages reading and writing of Activity and Resource information to external data sources.

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