Hi
I have a requirement where in i have to show two dropdowns in appointment. We have been trying to do this since the last 15 days. Please help us in this regard
Thanks
Sarma KN
I have been racking my brains trying to do same thing. Could you please expand on how to accomplish steps 1 and 2. Maybe show an example of the code. I have tried for 4 days to combine the 2 examples mentioned above and have not accomplished a thing.
1) If you are adding the resulting Appointment to the UltraCalendarInfo's Appointments collection, you don't have to do anything. You can use the Appointment.Save instance method to serialize the Appointment's object graph to a byte array, and store those bytes in a database field, then use the static Appointment.FromBytes method to create a new instance from those bytes.
2) When the form is first launched, it has to be told what owner it was launched for. You can use the GetOwnerFromPoint to do this, then (one possible solution) modify the form's Show method to take the Owner as well. Then, modify the UpdateAppointment method to set the owner on the appointment.
3) I could not reproduce this behavior in the original sample.
Hi, I need some help in customizing win appointment schedule
1) If we create our own appointment dialog, how and what we should do to save the data into our database?
2) I found out problem when combining the sample code WINSCHEDULE DATABASE DEMO and AppointmentDialog2007. Why after we create an appointment in AppointmentDialog2007, the appointment does not show in the owner column but in the unassigned column? Then what can we do to save the appointment we create in AppointmentDialog2007 in the owner?
3) When we create appointment in the sample code AppointmentDialog2007, it does not show in the correct time row?? We create it on 1.15 but it appear at 4.15 (P.S. before we modify anything in AppointmentDialog2007)
Thanks for help.
I believe you also posted this to our other newsgroup but in case you didn't I will post that reply here:
The WinSchedule controls do not support the displaying of multiple editors within an Appointment's UIElement. You could possibly achieve this using the IUIElementCreationFilter interface, by using custom UIElements for the Appointments, but this is not a trivial undertaking. Note that WinSchedule does support displaying a custom dialog when an Appointment is edited (see UltraCalendarInfo.BeforeDisplayAppointmentDialog event); you might want to consider keeping the appointment's UI representation simple and use a custom dialog to provide a way for the end user to select values from a dropdown, etc.
In that case, I'll move this over to the winschedule forum.
-Tony