search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

'element' is undefined

Asked by Paul
14 years ago.
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
Comment posted by Dan Letecky
14 years ago.

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 Paul
14 years 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 Guest
14 years ago.
We have the same problem. When DayPilot has not rows we getting javascript error: element is undefined.
Comment posted by Dan Letecky
14 years 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).

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.