Hi,
Im using webschedule 2010 v3 . Could anyone pls tell me how to bind recurring appt in web day view using webschedulegenericdataprovider? I'm using Linq data source to fetch appointments data from db. I'm using separate table to store recurrence pattern however I hve read in some post there is not required of recurrence table I'm not sure of that. I'm confused between variance and recurrence binding which one do I need to use? And do I need to build string for recurrence pattern with semi colon separator since I'm using separate table? I'm using webdayview to bind appointments I'm able to bind regular appointments but I'm not able to bind recurring appointment. Looking forward for your help in performing recurringAppointments.
Expecting your replies pls help.
Hello email2prasan ,
Thank you for posting in our forum.
The recurrence is a special type of appointment and is not kept in separate table. Please refer to the following page from our documentation:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebSchedule_Recurrence.html
Note that when you create an appointment and want it to be recurring you create a new recurrence and add it to that appointment:
Client side:
var recurrence = appointment.createRecurrence();
…
appointment.setRecurrence(recurrence);
Server side:
appointment.CreateRecurrence();
this.WebScheduleOleDbProvider1.AddActivity(appointment,
this.WebScheduleInfo1.ActiveResource);
So basically the recurrence information will be kept in the same table where you keep the appointments. For more information on the data model of the
WebScheduleGenericDataProvider please refer to: http://help.infragistics.com/Help/NetAdvantage/ASPNET/2011.1/CLR4.0/html/WebScheduleGenericDataProvider_About_WebScheduleGenericDataProvider.html
Here also the data model of the Activity(or Variance) data table:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2011.1/CLR4.0/html/WebSchedule_Generic_ActivityVariance_Data_Model.html
Let me know if you need further assistance with this.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support