Having an issue when adding custom objects onto the Appointment.tag as ExtendedAppointmentInfo. the appointment is saving to the SQL Appointments table, but upon loading the schedule back up the Appointment is not getting serialized and I get no error. How Do I enable exceptions in the serialize of Appointment objects so I can get a clue on what to be looking for. I do have my custom objects decorated as <serializable>.,
Thanks All!
Hi Aaron,
Thank you for contacting Infragistics Developer Support.
You can configure VS to break on all exceptions. In order to do this go to Debug, click Exceptions and then you could select Thrown for an entire category of exceptions, for example, Common Language Runtime Exceptions.
Let me know if you still have issues implementing this.
I don't know what I need to enable to be able to see errors when the winschedule is databinding existing appointments. I do not know why some appointments are not being shown when the dayview is loaded up. I have enabled all Common Language Runtime exceptions and still do not see an error. The appointment does save to the dayview control during runtime, and does persist back to the SQL appointmnents table, but doesn't get loaded back up into the dayview if I exit the test app and come back in. I need to see excepctions why that appointment with the custom properties I have added into the ExtendedAppointmentInfo are not being created.
I have enabled all exceptions and I don't get an error thrown when loading up the DayView control. I need to find out why appointmnts that are saved with extendedappointmentinfo are not serialized into the appointment collection upon the project starting up. I have both classes that are being added to the Appointment.tag decorated with <Serialize>. If I add the appointment while the project is running it will be added to the correct owner and day on the DayView control and will launch the appointment dialog with the custom properties populated like I expect, but if persisted to SQL appointments table those same appointments will not load up.
Need help on this one. Thanks!
If I wipe out the AllProperties column on the appointments that have custom properties they will load and serialize into the appointents collection fine! Something is choking on the AllProperites but I don't know how to find out what its having an issue with?
Thank you for the reply.
Please make sure that in your ExtendedAppointmentInfo, you don’t have a property of another custom class that doesn’t have the Serializable tag. If that is the case mark the other custom class as serializable. If that’s not the case, please provide me with the code for your custom class. This will help me greatly in finding what is causing the issue and it will enable me to create a sample that will show how to persist the Appointment Tag for your custom class.
I am looking for your reply.