Home Unanswered Active Tags New Question

'element' is undefined

Hi, I'm using the DayPilot (demo) with ASP.Net + ASP.Net AJAX and am getting a strange 'element is undefined' error whenever I use the control (scheduler or monthly calendar view). Error shows on IE 6 8/Firefox/Chrome. Full error is: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) Timestamp: Fri, 5 Mar 2010 16:52:45 UTC Message: 'element' is undefined Line: 2 Char: 24607 Code: 0 Any ideas? Regards, Paul
Asked by Paul 1 year ago.
Replies

Hello,

Is it possible to reproduce the bug using the Demo project? If so, what are the required steps? If it doesn't happen with the demo would you be able to send a simple project that reproduces the problem to support@daypilot.org?

Comment posted by Dan Letecky 1 year ago.
Problem was a javascript error when the scheduler tried to init with no rows (e.g. empty dataset). Solution was to hide the scheduler until data was available.
Comment posted by Paul 1 year ago.
We have the same problem. When DayPilot has not rows we getting javascript error: element is undefined.
Comment posted by Guest 1 year ago.

This bug is now fixed (build 5.9.2010, see the sandbox). The fix will be included in the next release (5.9 SP1).

Comment posted by Dan Letecky 1 year ago.
New Reply
This reply is
Your name (optional):

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