Sunday, March 11, 2012

AJAX 1.0 problem with frameset

I got the same error message but with an

AnimationExtender

within a frameset using the new 1.0 version of ajax

somebody please save our business by helping us !!!


It seems 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. You can substitute in the correct path to your own local toolkit sample web site.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Frame Test</title>
</head>
<body style="margin: 0; padding: 0">
<iframe frameborder="yes" name="main" src="http://pics.10026.com/?src=http://localhost/ajaxtoolkit/" width="100%" height="100%"
marginwidth="0" marginheight="0" scrolling="auto"></iframe>
</body>
</html>


U rox broman it is working perfectly by simply changing the frameborder as you said

thanx a lot


Thank you very much Broman!

This is the solution for my answer, I didn't work with an iframe, but with a frameset it's exactly the same.

Yes


Hi

It works perfectly fine. ThnxYes


Brilliant!!! Thanx
After moving to 1.0 RTM from RC, I am getting exact same error with HoverMenu Extender. No framesets or borders. Any suggestions?
FYI: "yes" is not a valid value for frameborder according to the HTML spec:http://www.w3.org/TR/html4/present/frames.html#h-16.2.2.
I have frameborder="0" and I still get the error on drop down boxes.

That page actually had an iframe I was unaware of and it had frameborder="no"

I was nervous for th 7 minutes in between posts, but all is well! Thanks!


You little beauty, that error has been bothering me for about 2 weeks, and I have been trying to ignore it.

ta

Mike

and now onto the next bug...


Having the same problem no iframe is used However the page loads onto a div layerI have just added the following to call a webservice from the client Throws this javascript error--------Error--------A Runtime Error has occurred.Error: Sys.ArgumentOutOfRangeException: Value must be an integer.Parameter name: xActual value was NaN.Tried adding a updatepanel still the same. The javascript alert is thrown whenclicked anywhere on the page
Sorry about the previous post on Sys.ArgumentOutOfRangeException errorThere was an iframe in the code. Strangely i couldn't locate it as it wasgenerated on the fly by javascript.So its worth checking for an iframe tag first if you get this error.Thanks for the help with the posting.

Hi!

I have the same problem when i am trying to change an asp. net project by including ajax in it. I made all the changes needed in the Web.config, but i get the "Microsoft JScript runtime error: Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: x
Actual value was NaN." error each time I click the page where I am using a control . I do not use any Iframe and I do not know where it might be genereated or how i could find out.

Could anyone help me , please?

10x a lot.

No comments:

Post a Comment