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
Adding the dropdown should be simple - find the form (C:\Program Files\Infragistics\NetAdvantage for .NET 2007 Vol. 3 CLR 2.0\ASP.NET\Forms\WebSchedule\AppointmentAdd.aspx) and add a dropdown control to it. Then point your webschedule components at the updated form location using the web.config (in the example below the forms folder is copied locally to the application, this is the recommended approach).
Hope this helps,
-Tony
<section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<infragistics.web imageDirectory="./images" javaScriptDirectory="./Scripts" cssDirectory="./Styles" formsDirectory="./Forms" />
Sorry for providing insufficient information. I need to embedd the two dropdowns in a Win Schedule appointment object and i also need to have control over their data binding for these two dropdowns. In other words i have to customize the UI of Win Schedule appointment to add two dropdowns and a label to it.
ThanksSarma
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.
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.
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.
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.