Hello,
I am having the following client side error when i try to move my radwindow:
Sys.ArgumentTypeException: Object of type 'String' cannot be converted to type 'Number'.
Parameter name: x
It's getting a weird behavior, im not being able to move any of my radwindows, and when i do mouseDown on any radWindow it's moving to the right side of the page. I only get that exception on some of them.
Any ideia?
Thanks in advance
I am having the following client side error when i try to move my radwindow:
Sys.ArgumentTypeException: Object of type 'String' cannot be converted to type 'Number'.
Parameter name: x
It's getting a weird behavior, im not being able to move any of my radwindows, and when i do mouseDown on any radWindow it's moving to the right side of the page. I only get that exception on some of them.
Any ideia?
Thanks in advance
4 Answers, 1 is accepted
0

David
Top achievements
Rank 1
answered on 02 May 2008, 10:19 AM
I'm getting the error here:
Sys.UI.DomElement.setLocation = function Sys$UI$DomElement$setLocation(element, x, y) {
/// <param name="element" domElement="true"></param>
/// <param name="x" type="Number" integer="true"></param>
/// <param name="y" type="Number" integer="true"></param>
var e = Function._validateParams(arguments, [
{name: "element", domElement: true},
{name: "x", type: Number, integer: true},
{name: "y", type: Number, integer: true}
]);
if (e) throw e;
var style = element.style;
style.position = 'absolute';
style.left = x + "px";
style.top = y + "px";
}
I'm getting the x and y variables the value of NaN0[object]0
0

David
Top achievements
Rank 1
answered on 02 May 2008, 11:14 AM
If it helps somehow, on _activeDragVisual.startingPoint, both x and y have the value NaN0. I'm trying to figure the rest lol :)
0

David
Top achievements
Rank 1
answered on 02 May 2008, 12:06 PM
When startingPoint is set to a value, on getScrollOffset function, i am getting dialogWindow parentElement as aspnetForm and the moment you get that aspnetForm scrollTop and scrollLeft, both return an 0[object]0, instead of just returning value 0.. that's the reason i am getting that error. Any solutions?
Thanks in advance
Thanks in advance
0
Hello David,
I am afraid that the provided information is not enough for us to determine what the reason for the problem might be. Please open a support ticket and send us the following:
Kind regards,
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I am afraid that the provided information is not enough for us to determine what the reason for the problem might be. Please open a support ticket and send us the following:
- A small sample project where the problem can be reproduced.
- Step-by-step reproduction details
Kind regards,
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center