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

Javascript error when in Iframe 4.1

Asked by Jelle de Vos
16 years ago.

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

Comment posted by Jelle de Vos
16 years ago.
It seems that it woks with a blank tab.
im going to research if its my code ;)
Comment posted by Dan Letecky
16 years ago.
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).
Comment posted by Jelle de Vos
16 years ago.

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

Comment posted by Dan Letecky
16 years ago.
OK. Thanks for posting the solution!
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.