Skip to content

DoRetrieveDayEvents Event

Description

Occurs when the RetrieveDayEvents method is used.

Syntax

Public Event DoRetrieveDayEvents( _
    ByVal [dtDay](#) As Date, _
    ByVal [Events](#) As [CalendarEvents](XtremeCalendarControl~CalendarEvents.md) _
)

Parameters

  • dtDay [out]: The specified day to retrieve CalendarEvents from.
  • Events [in]: Set this to a CalendarEvents collection that contains all appointments for the specified day from the data source. It should include recurrence appointments, occurrences, regular appointments for this day, and multi-day appointments which also have a part of the specified day.

Remarks

Occurs when the RetrieveDayEvents method is used. You will need to manually set the Events collection to all calendar appointments for the specified dtDay from the data source. It should include recurrence appointments, occurrences, regular appointments for this day, and multi-day appointments which also have a part of the specified day.

This event occurs only when a custom data provider is used. This allows the developer to handle and implement a custom method.

Notes

The Custom data providers include SQLServer, MySql, and Custom. Custom data providers operate in an "unbound" mode. All data must be provided and retrieved to/from the calendar by the developer. All of the "DoXXXX" (i.e. DoCreateEvent) events will be fired when using a custom data provider; the developer must implement their own functionality for each event. For example, when an event is created using the CreateEvent method, the DoCreateEvent is fired. The developer can then add special code in the DoCreateEvent to add the event to a database or some other custom data source. For all custom data providers, the ConnectionString must contain "Provider=custom".

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.