We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Not able add multiple appointments through code for Schedule control(ASP.NET)

Thread ID:





75925 Aug 14,2008 08:49 PM Aug 23,2008 05:55 AM Windows Forms 1
Tags: ScheduleControl
Phani Kumar Simhadri
Asked On August 14, 2008 08:49 PM


I am unable to create multiple appointments through code. Please find the attached document for details and let me know if you need further information.

Thank you in advance.


Schedule Control_58a87812.zip

Rajarajeswari S [Syncfusion]
Replied On August 23, 2008 05:55 AM

Hi Phani,

Thanks for using Syncfusion products.

I am afraid that I am not able to reproduce the issue, that you have mentioned here. Please refer the following steps that I tried to reproduce it.

1. Created a simple sample with Schedule control.
2. Created DataTable with appointments.
3. Loop through the DataTable and added the appointments with ScheduleControl.

Please refer the below code snippet which illustrates this:

DataTable dt = GetGridData();
foreach (DataRow dr in dt.Rows)
ScheduleWebAppointment appointment = new ScheduleWebAppointment();
appointment.UniqueID = Convert.ToInt32(dr[0].ToString());
appointment.Owner = Convert.ToInt32(dr[4].ToString());
appointment.Subject = dr[3].ToString();
appointment.StartTime = Convert.ToDateTime(dr[1].ToString());
appointment.EndTime = Convert.ToDateTime(dr[2].ToString());

Please refer the sample from the below link, which illustrates this:


Please have a look at the above and try this, if still an issue exists could you please send us the sample to reproduce it? So that we could sort out the cause of the issue very soon and provide you a better solution.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.