With the DayPilotCalendar you are able to call the .Message function on the client side, that will display the little red message in the top left-hand corner of the control.
This function isn't support by the Scheduler, and I've tried the examples in the Hotel Booking System but am constantly presented with an "object expected" error, even though the data message being passed by the CallBack exists.
I've tried:
function AfterRenderDayPilotScheduler(data)
{
if (data)
{
var message = new DayPilot2.Message();
message.hideAfter = 3000;
message.show(data, "message_warn");
}
}
And..
var message = new DayPilot2.Message("message");
message.hideAfter = 3000;
function afterRender(data) {
message.show(data, "message_warn");
};
Any pointers would be appreciated.