Home Unanswered Active Tags New Question

TimeRangeSelectedHandling="JavaScript"

I've got a DayPilotMonth object with TimeRangeSelectedHandling="JavaScript", but when I click on an empty month cell, no javascript runs, even when TimeRangeSelectedJavaScript is set to a simple alert.

Instead, I get an error "JScript runtime error: 'undefined' is null or not an object" at the following line:

var $04=new DayPilot.Date($c.getDateFromCell($11.from.x,$11.from.y));

Below are the local variable values. "$c" is the undefined object causing the error?

ev {...} DispCEventObj
$c undefined User-defined Type
e undefined User-defined Type
$04 undefined User-defined Type
$v undefined User-defined Type
$u undefined User-defined Type
$11 {...} Object
end undefined User-defined Type

Any other setting that I need to change or is this a bug?

Asked by ATR at Univ of MI 1 year ago.
Replies

Forgot to mention I'm using DayPilot version 6.2.2143

Comment posted by ATR at Univ of MI 1 year ago.
New Reply
This reply is
Your name (optional):

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