I am using the Calendar in a Grid, and when I double click the cell to get the popup calendar, I get the following error:
Microsoft JScript runtime error: Object doesn’t support this property or method.
The line of code that is highlighted is:
var time = d.getTime();
The “watch” value for d is “Undefined Value”. I checked Date() and it is a valid date. Here is the full function from dhtmlxcalendar.js
this.setDate = function(d) {
if (d === "") d = new Date();
if (!(d instanceof Date)) d = this._strToDate(d,false);
var time = d.getTime();
// out of range
if (this._isOutOfRange(time)) return;
this._activeDate = new Date(time);
this._drawMonth(this._activeDate);
this._updateVisibleHours();
this._updateVisibleMinutes();
}
Any help would be greatly appreciated, or anyway to not look at time as something that can be selected would be better.
Unfortumnately the issue can’t be reconstructed.
Try to download the newest version of calendar.
If issue still occurs - please provide any kind of sample of yiour code to reconstruct an issue.