DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Bugs » Javascript error when in Iframe 4.1

Javascript error when in Iframe 4.1

Hi,

I get a error when i use daypilot in an iframe with the new version.
It works Good but when you select a timerange it gives an error.

The rest works perfectly.

Only in IE. Firefox doesnt give a error
Sys.ArgumentOutOfRangeException

Value Must be Integer
parametername x
Actual value was NaN

Greetings,

Jelle de Vos

Jelle de Vos - 10/8/2007 10:41:00 AM
It seems that it woks with a blank tab.
im going to research if its my code ;)
Jelle de Vos - 10/8/2007 4:08:14 PM
OK. Let me know if I can do anything inside DayPilot to prevent this problem (a piece of code that replicates the error is just fine).
Dan Letecky - 10/8/2007 7:56:40 PM

It seems Asp.net Ajax 1.0 makes an assumption about the frameborder of a frameset being an integer. The accompanying frame page will reproduce this error when the frameborder is set to a non-integer such as "yes" or "no". Setting it to 1 or 0 makes it work again. So it was an Ajax bug.

Thanks!
Jelle de Vos

Jelle de Vos - 10/9/2007 12:31:24 PM
OK. Thanks for posting the solution!
Dan Letecky - 10/9/2007 12:36:47 PM
Post reply