Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Slider control JavaScript runtime error: Sys.ArgumentOutOfRangeException: Value must be an integer.

$
0
0

Downloaded the Ajax ControlKit version 4.1.5116.0 and added to VS2010 Toolbar. Using MS IE10.

Got a simple control working but when sliding the slider the following error keeps popping up:

JavaScript runtime error: Sys.ArgumentOutOfRangeException: Value must be an integer. Parameter name: y Actual value was 148.04762268066406.

Copied and ran the example from: http://www.asp.net/ajaxlibrary/HOW%20TO%20Use%20the%20Slider%20Control.ashx

Same Result! :-(

I think that it has something to setting the vertical and horizontal handles but I dont know styles and javascript well enough.

I've cheked this forum and can't see an answer.

Please help.

Found a workaround: http://forums.asp.net/t/1884400.aspx/1?IE+10+Issue+SCRIPT5022+Sys+ArgumentOutOfRangeException+Value+must+be+an+integer+Parameter+name+x

From this workaround I inserted

<metahttp-equiv="X-UA-Compatible"content="IE=7"/> in the HeadContent of my aspx page. All the sliders work.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>