I have been studying the sample AppointmentDialog2007 to see how to create a custom appointment dialog, but the custom appointment dialog does not update the appointment in the form that invoked the custom appointment dialog. Any tips on how to make that happen?
I'm not exactly sure that I understood your post but I just confirmed that when an existing appointment is opened in the dialog by double-clicking it, changes to the Subject or StartDateTime/EndDateTime properties were reflected in the appointment on the main dialog. If this is not what you were referring to, please repost with additional details and we will try to help.
Brian, thank you for responding. I apologize for not being clearer in my statement of the problem. After further investigation, I now have a better understanding of what is behind the issue I am trying to resolve.
Disregard the reference to a 'custom' appointment dialog, the issue happens with the standard appointment dialog as well.
If I set the UltraCalendarLook.ViewStyle = UltraWinSchedule.ViewStyle.Office2007 (the Office2007 is key here)
When the user single clicks on a time slot in the day view with the intent of making an appointment, the user is able to immediately enter a subject without going into an appointment dialog. (Good feature)
However, if when the user is presented with this immediate subject entry, the user chooses to not enter anything, but double clicks the emply slot, then up pops the Appointment Dialog, which is the expected behavior. However if the user then enters data into the subject line in the Appointment Dialog and clicks on the Save button, the Appointment Dialog closes, but the appointment does not appear to be saved in the UltraCalendarInfo instance nor is it reflected in the dayview.
As noted above the UltraWinSchedule.ViewStyle.Office2007 is the key to this situation. If I use the UltraWinSchedule.ViewStyle.Office2003, then everything involving the Appointment Dialog works as would be expected, ie updating the UltraCalendarInfo instance and reflecting the appointment in the dayview.
So it would appear that when using the UltraWinSchedule.ViewStyle.Office2007, the user must enter data into the immediate subject slot before double clicking to proceed to the Appointment Dialog or no appointment information will be saved.
If this is true, is there a way around this?
Thank you.
I just tried this with the latest version and I could not reproduce the issue you described - as soon as you double-click on the TimeSlot, the 'ClickToAdd' appointment disappears. I vaguely remember fixing a bug a while back that would explain this not being reproducible anymore; you should download the latest version and if the problem persists, report it as a bug.