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
505
StartDateTime & EndDateTime
posted

I use TimeLineView control, set timeslot interval to 1 day, the calender info mindate and max date to 1 month (from 01/10/2010 to 31/10/2010)

I use this code to add an Appointment to date 01/01/2010 in form_load event, but it not work:

private void Form_Load(object sender, EventArgs e)
        {
           
            this.ultraTimelineView1.EnsureDateTimeVisible(this.ultraCalendarInfo1.MinDate);
            ultraCalendarInfo1.Owners.Add("100""Pham Nhu Chung");
         

          ultraCalendarInfo1.Appointments.Add(new DateTime( 2010,10,01),new DateTime( 2010,10,01), "TEST");          
         
}
but when i replace last line code to (add Appoitment to date 02/10/2010)
 
 ultraCalendarInfo1.Appointments.Add(new DateTime( 2010,10,02),new DateTime( 2010,10,02), "TEST");          
then it works
Thanks.
Parents
  • 69832
    Verified Answer
    Offline posted

    This is a bug in the control; thank you bringing it to our attention. It will be fixed in a forthcoming service release; refer to bug ID 58741.

    Note that in the meantime, you can work around this issue by making the appointment's duration non-zero, i.e., specify a value for 'endDateTime' that is at least one minute greater than that of 'startDateTime'

Reply Children
No Data