Ajax Error: Sys.ArgumentOutOfRangeException
Programming May 29th, 2008So, after working on a piece of code at work for over a month and migrating it to QA I had an error that I couldn't quite figure out that only appeared while viewing the site in FireFox. The error is "Sys.ArgumentOutOfRangeException" and mentions that an integer is expected but was NaN. Okay. That's helpful considering its a JavaScript error and IE's JS debugging is entirely junk. Want to know the trick? The frameset contained a value for frameborder='yes' inside of it. Apparently the script, in IE, requires an integer value to be used instead of the yes/no value. All I did was change it to a 0 from a 'no' and the page started working fine.
Annoying
Leave a Reply
You must be logged in to post a comment.