Hi Truth,
Thanks for your interest in Syncfusion products,
We have created the simple sample as per your requirements. In order to get the notification when getting the schedules between the days, you can override the GetSchedule method of ScheduleDataProvider and check the total number schedules with number schedules between the days. Please make use of the below code,
Code snippet:
public override IScheduleAppointmentList GetSchedule(DateTime startDate, DateTime endDate)
{
ScheduleAppointmentList list = new ScheduleAppointmentList();
double no_of_days = (endDate - startDate).TotalDays;
if (no_of_days > this.MasterList.Count)
{
if (MessageBox.Show("Enter valid dates to get the days", "", MessageBoxButtons.OK) == DialogResult.OK)
{
return list;
}
}
///
///
///
} |
Sample link:
Please let us know if we misunderstood anything from your requirements.
Regards,
Piruthiviraj