Exceptions Binding

4 posts, 0 answers
  1. Jeremy Murtishaw
    Jeremy Murtishaw avatar
    86 posts
    Member since:
    Apr 2009

    Posted 06 Feb 2010 Link to this post

    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
  2. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    353 posts

    Posted 09 Feb 2010 Link to this post

    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.
  3. Jeremy Murtishaw
    Jeremy Murtishaw avatar
    86 posts
    Member since:
    Apr 2009

    Posted 16 Feb 2010 Link to this post

    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
  4. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    353 posts

    Posted 17 Feb 2010 Link to this post

    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.
Back to Top