Changing Color between Calendars

I’m using different assigned colors for events on multiple calendars. When I move an event between calendars I need the color to change with it.

This updates the calendar event in the calendarSaveData.ashx.vb

Dim eventToUpdate = data.Calendar_tbls.SingleOrDefault(Function(ev) ev.id = action.SourceId)
DHXEventsHelper.Update(eventToUpdate, changedEvent, New List(Of String)() From {"id"})

My work around so far has been to change it after it submits the change but that requires that I manual refresh the calendar.

Is there a better way to do this?

Hi,
check this article
scheduler-net.com/docs/managing_ … the_server
You can see it in action in
Scheduler.MVC3\Controllers\CustomFieldController.cs

Alternatively, you can assign colors on the client side with scheduler.templates.event_class template
scheduler-net.com/docs/custom_co … _to_events
each calendar may use it’s own css classes for events, and this classes will be applied automatically when event is added to the calendar