Hi All,
Can you point me toward some information that describes the sequence of events in the RadScheduleView when one attempts to modify an Appointment Exception? I'm using your ScheduleView_EF_SL.zip sampl project as a guide. When we move an occurrence of an Appointment Exception to new time slot on the RadScheduleView, we encounter several poblems: 1) the ExceptionOccurrence entity has an incorrect exception date; 2) the SqlException entity has an end date set to apparently DateTime.Min, etc. I can't figure out how to debug into the setting of these properties.
Is there an event raised by the control when an exception occurrence is modified such as RadScheduleView.AppointmentEdited for regular appointments? I need to find out where the DateTime.Min is coming from. It could very possibly be a mistake in our poject, but I don't understand the sequence of events well enough. For example, why does the code below appear in ScheduleView_EF_SL sample: When and why does the Copy() method get called and why is it an Invalid Operation? How can I hook into the process befor this method is called? Specifically, I need to find out when/where ExceptionAppointment and ExceptonOcurrence entities are created.
Unfortunatley the solution into which we've integrated the RadSchelueView is far too big to post as a sample, and i admit that your sample solution does work, but it's very frustrating because I don't understand why/when some things are being done. We are using all your IAppointment, IResource, etc, interfaces on our own entities (for example we have a Booking entity instead of a SqlAppointment), and generally it's working very well--except for recurrence exceptions.
Cheers,
Scott
Can you point me toward some information that describes the sequence of events in the RadScheduleView when one attempts to modify an Appointment Exception? I'm using your ScheduleView_EF_SL.zip sampl project as a guide. When we move an occurrence of an Appointment Exception to new time slot on the RadScheduleView, we encounter several poblems: 1) the ExceptionOccurrence entity has an incorrect exception date; 2) the SqlException entity has an end date set to apparently DateTime.Min, etc. I can't figure out how to debug into the setting of these properties.
Is there an event raised by the control when an exception occurrence is modified such as RadScheduleView.AppointmentEdited for regular appointments? I need to find out where the DateTime.Min is coming from. It could very possibly be a mistake in our poject, but I don't understand the sequence of events well enough. For example, why does the code below appear in ScheduleView_EF_SL sample: When and why does the Copy() method get called and why is it an Invalid Operation? How can I hook into the process befor this method is called? Specifically, I need to find out when/where ExceptionAppointment and ExceptonOcurrence entities are created.
Unfortunatley the solution into which we've integrated the RadSchelueView is far too big to post as a sample, and i admit that your sample solution does work, but it's very frustrating because I don't understand why/when some things are being done. We are using all your IAppointment, IResource, etc, interfaces on our own entities (for example we have a Booking entity instead of a SqlAppointment), and generally it's working very well--except for recurrence exceptions.
Cheers,
Scott
namespace ScheduleView_EF_SL.Web.AppData
{
public partial class SqlExceptionAppointment : IEditableObject, IAppointment, IObjectGenerator<
IRecurrenceRule
>
{
public event EventHandler RecurrenceRuleChanged;
public IAppointment Copy()
{
throw new InvalidOperationException();
}