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

Data Model

1 Answer 40 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
ManniAT
Top achievements
Rank 2
ManniAT asked on 17 Jul 2014, 03:02 PM
Hi,

I check your Datamodel at http://www.telerik.com/help/wpf/radscheduleview-populating-with-data-binding-to-db-sources.html

And I also downloaded your xamlskd example (ScheduleView_WPF - WithDB).

My problem - there is an interface IExceptionOccurence with the properties Appointment and ExceptionDate.
Appointment references the originating recurrent appointment.

But I don't understand the property ExceptionDate.
To check I did:
a.) Create a recurring appointment (every day at 9:00)
b.) Changed one occurrence to 10:00
c.) Changed that occurrence to 11:00

What I got is
b.)- added an ExceptionAppointment and an EceptionOccurrence pointing to the original Appointment
-- ExcpetionAppointment Start and ExceptionOccurrence Exception Date have 10:00 as value
c.) - changed the Start in the ExceptionAppointment to 11:00 - but did not change the ExceptionOccurrence - ExceptionDate

Further I manually changed the ExceptionOccurrence Exception Date -- that has no effect at all
But when I change the StartDate of the ExceptionAppointment the thing move in the Scheduler.

So what is this "ExceptionDate" in the IExceptionOccurence?

Manfred

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 22 Jul 2014, 02:30 PM
Hello Manfred,

Simply said the ExceptionDate property in IExceptionOccurence specify the original time when the occurrence should occur if it wasn't an exception. In the given context:

a.) Create a recurring appointment (every day at 9:00)
b.) Changed one occurrence to 10:00
c.) Changed that occurrence to 11:00

there will be only one ExceptionOccurence with ExceptionDate : (date when occur) at 9:00. Changing the time when exception starts or ends doesn't affect the ExceptionDate.

Hope this information helps.

Regards,
George
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ScheduleView
Asked by
ManniAT
Top achievements
Rank 2
Answers by
George
Telerik team
Share this question
or