I crated custom radcombobox in EditAppointmentDialog. I don't know how to change color of Scheduler's cell when I select custom radcombobox?
How I change background color which display on appointment schedule? help me please.
Thank you,
Pum+
3 Answers, 1 is accepted
0
Boyko Markov
Telerik team
answered on 04 Sep 2009, 09:48 AM
Hello Waranya,
To change the background of an appointment you can double-click on the appointment and use the Background combo box in the EditAppointmentDialog. When you select an item from the comb box you should click the "Ok" button to apply the new style.
You can also change the Background manually using a code like this:
Thank you Boyko Markov,
But I want to change background color when I click the "OK" button after I change index of the "Position" Radcobobox on EditAppointmentDialog
Help me again,
Pum+
0
Boyko Markov
Telerik team
answered on 04 Sep 2009, 11:26 AM
Hello Waranya,
You can review the solution in ticket Id: 240314. You can only change the existing BackGroundInfos and StatusInfos of RadScheduler and there is no way to add a new StatusInfo or BackGroundInfo in the current version of RadScheduler. When you select an item from the background combo box and press the Ok button the new style will be automatically updated.
For example when you double-click on an appointment or create a new appointment by double-clicking on a cell. The EditAppointmentsDialog window will be shown automatically. Appointment default BackGroundInfo is shown as None. Change it to Important and click the Ok button to save the changes. The result is that the silver colored appointment will be rendered as a red colored appointment.
Please feel free to contact me again if you need more information.