Hello.
I am using the AjaxControlToolkit v.15.1.3 in a Webform application and have som problems with that Doc.body.scrollTop dont always return an integer. The browser im using is Chrome Version 45.0.2454.101 m
Location of error:

Error message:

This is where the code crashes:
``` C#
var ex, ownerDoc = element.ownerDocument, documentElement = ownerDoc.documentElement,
offsetX = Math.round(clientRect.left) + (documentElement.scrollLeft || (ownerDoc.body ownerDoc.body.scrollLeft : 0)),
offsetY = Math.round(clientRect.top) + (documentElement.scrollTop || (ownerDoc.body ? ownerDoc.body.scrollTop : 0));
```
I think one solution for this is to move the parenthesis so you wrap all the statments with Math.round()
``` C#
var ex, ownerDoc = element.ownerDocument, documentElement = ownerDoc.documentElement,
offsetX = Math.round(clientRect.left + (documentElement.scrollLeft || (ownerDoc.body ownerDoc.body.scrollLeft : 0))),
offsetY = Math.round(clientRect.top + (documentElement.scrollTop || (ownerDoc.body ? ownerDoc.body.scrollTop : 0)));
```
Best regard, Patrik Ericsson
I am using the AjaxControlToolkit v.15.1.3 in a Webform application and have som problems with that Doc.body.scrollTop dont always return an integer. The browser im using is Chrome Version 45.0.2454.101 m
Location of error:

Error message:

This is where the code crashes:
``` C#
var ex, ownerDoc = element.ownerDocument, documentElement = ownerDoc.documentElement,
offsetX = Math.round(clientRect.left) + (documentElement.scrollLeft || (ownerDoc.body ownerDoc.body.scrollLeft : 0)),
offsetY = Math.round(clientRect.top) + (documentElement.scrollTop || (ownerDoc.body ? ownerDoc.body.scrollTop : 0));
```
I think one solution for this is to move the parenthesis so you wrap all the statments with Math.round()
``` C#
var ex, ownerDoc = element.ownerDocument, documentElement = ownerDoc.documentElement,
offsetX = Math.round(clientRect.left + (documentElement.scrollLeft || (ownerDoc.body ownerDoc.body.scrollLeft : 0))),
offsetY = Math.round(clientRect.top + (documentElement.scrollTop || (ownerDoc.body ? ownerDoc.body.scrollTop : 0)));
```
Best regard, Patrik Ericsson