Please find below as my requirment.
(Schedular - DayView)
Each appointment is associated with status (like created, confirmed, completed etc) and appointment should have color schema based on appointment status.
For example, all created appointments should disply in Red, confirmed appointments should display in Yellow etc.
Also, buttons should be displayed with each appointments, when user clicks on any button, appointment status should changed accordingly. i.e, when user clicks on Yellow Button, appointment status should be changed to confirmed.
To achieve above requirement, am making use of Appointment Template, AppointmentCreated event, AppointmentCommand events of Schedular control.
Am using AppointmentCreated event for background color logic and AppointmentCommad event for updating appointment status logic.
When I clicks on button, which is in appointment template, order of events which are fired are AppointmentCreated, AppointmentCommand.
Everything working fine so far which satisfies my requirement. But the problem is, some times (randomly), buttons requires multiple clicks to fire “AppointmentCommand” event. In other words, when I click on button, it is only fires “AppointmentCreated” and not firing “AppointmentCommand”.
Any one, could you please help me in this issue. Thanks in advance.
Thanks,
Sumanth