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.