This is a migrated thread and some comments may be shown as answers.

Exceptions Binding

3 Answers 44 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Jeremy Murtishaw
Top achievements
Rank 1
Jeremy Murtishaw asked on 07 Feb 2010, 12:56 AM
Hello,

Several months ago I had problems with recurring events where someone changed a specific occurance, thus causing an exception to be generated. It was explained to me that there were problems with Exception binding, but these were supposedly fixed in Q3 2009. I've now installed this new Telerik Version, and I've attempted to set the appointmentMappingInfo appropriately, but I still cannot get the databinding for exceptions to work correctly. In addition, I have not gotten several other columns to save to SQL, such as MasterEventId, Duration, and a few others. After looking through the documentation, I feel that nowhere is it explicitly stated what the datatypes for these columns must be, and the proper method to ensure databinding for ALL data points around appointments, especially the Exceptions field. At this point I am pretty lost about how I can get these things taken care of. Can I get some help here?

Thanks!
Jeremy

3 Answers, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 09 Feb 2010, 03:45 PM
Hello Jeremy Murtishaw,

You could look at our scheduler binding example in the Demo Application. You should map the right column from the database:

appointmentMappingInfo.MasterEventId = "ParentID";

And in the database you should set that value only if it is an exception. For example if you have three appointments with IDs 1, 2 and 3 you could set 2 and 3 to be exceptions of 1 as you set both ParentIDs to be 1.

Feel free to ask additional questions.

Best wishes,
Dobry Zranchev
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Jeremy Murtishaw
Top achievements
Rank 1
answered on 16 Feb 2010, 06:00 AM
Hi Dobry,

This is not a clear enough explanation. I have looked at the Scheduler Binding example in the demo application, and it is not of much use either. Can I please get a comprehensive explanation on how to set up the binding of Exceptions? In addition, can you speak to the other columns, such as Duration, and what the column types must be in SQL for the binding to work?

Thanks!
Jeremy
0
Dobry Zranchev
Telerik team
answered on 17 Feb 2010, 09:35 AM
Hello Jeremy Murtishaw,

Thank you for contacting us. In the example, SchedulerJob_ID is used for the unique id. It is important that you create a self relation between SchedulerJob_ID and MasterEventId in the data set if it is not already created. You should add a cascade delete in the relation. Also you should set this relation name to AppointmentMappingInfo.Exceptions property.
I am attaching an example and I hope that it will help you.

All the best,
Dobry Zranchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Scheduler and Reminder
Asked by
Jeremy Murtishaw
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
Jeremy Murtishaw
Top achievements
Rank 1
Share this question
or