Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
510
Strange behaviour with Winschedule Date
posted

Hi

When I am double clicking on a UltradayView to create an appointment the BeforeDisplayAppointmentDialog event gives me date which is one day after the activeday of the CalendarInfo.

Infragistics.Win.UltraWinSchedule.

DisplayAppointmentDialogEventArgs e

e.Appointment.StartDateTime give 06-25-2009 but the CalendarInfo.ActiveDay.Date gives me actual date which is 06-24-2009. Can any body tell me why there is date difference in this.

I am using following controls in my scheduler application.

UltraDayView
UltraWeekView
UltraMonthViewSingle

Which is linked to CalendarInfo, CalendarLook

Thanks and looking forward to a positive reply.

Regards
Pradeep

 

 

Parents
  • 69832
    Verified Answer
    Offline posted

    UltraDayView displays the contents of the UltraCalendarInfo.SelectedDateRanges collection, i.e., does not necessarily display the ActiveDay but rather the selected ones. You can synchronize the ActiveDay with the last date selected by handing the SelectedDateRangeChange event ad setting the ActiveDay property.

Reply Children
No Data