Home Unanswered Active Tags New Question

error on callback from refreshCallBack

I am getting an exception: $t.colors[...] is null or not an object after I make a refreshCallBack call.

Any ideas????
Asked by Scott Lee 4 years ago.
Replies
It seems to happen when I set CellsPerHour just before calling Update().
Comment posted by Scott Lee 4 years ago.
Changing CellsPerHour is not supported during CallBack.

DayPilotCalendar updates only the cell colors (it doesn't redraw the whole background table) after Refresh. If you change CellsPerHour it passes an array with different dimensions to the client.
If you need to change CellsPerHour, the best way is to do it using partial PostBack (inside UpdatePanel).
Comment posted by Dan Letecky 4 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java