asp.net scheduler problem

Hello,
I am using the asp.net 2.0 scheduler control. I do not want to show the start time and end time on each appointment - I want to get rid of it but I can't find the exact way of doing it.

I saw in part of your examples that this issue can be solved - I need some help please!

Thanks.


1 Reply

RS Rajarajeswari S Syncfusion Team June 12, 2008 05:42 PM UTC

Hi Eran,

Thanks for using Syncfusion products.

In Schedule control we can add appoinments without showing the start and End time values. Please refer the below code snippet which illustartes this:

ScheduleWebAppointment appointment = new ScheduleWebAppointment();
appointment.UniqueID = appointmentId++;
appointment.Owner = 1;
appointment.Subject = "testsubject";

appointment.StartTime = Convert.ToDateTime("01/16/2007 12:00:00");
appointment.EndTime = Convert.ToDateTime("01/16/2007 14:30:00");
appointment.AllowDrag = false;
appointment.TimeSpanColor = Color.FromName("DarkGray");
appointment.BackColor = Color.FromName("Azure");
this.Scheduler1.Appointments.Add(appointment);


Please refer our online browser samples from the below link, which illustartes your requirements:


http://www2.syncfusion.com/samplebrowser/samples.aspx


Please let me know if you have anyother concerns.

Regards,
Raji


Loader.
Up arrow icon