I have a page with a RadTreeView and a user web control that contains an ASP:Button.
The button is disabled if none of the nodes in the RadTreeView are selected.
When the button is disabled, if I mouseover the button I get a DOM in jscript code:
Sys.ArgumentException: Value must be a DOM element
Parameter name: element
Line 5949 of ScriptResource.axd:
switch(Sys.Browser.agent) {
case Sys.Browser.InternetExplorer:
Sys.UI.DomElement.getLocation = function Sys$UI$DomElement$getLocation(element) {
/// <param name="element" domElement="true"></param>
/// <returns type="Sys.UI.Point"></returns>
var e = Function._validateParams(arguments, [
{name: "element", domElement: true}
]);
if (e) throw e;
if (element.self || element.nodeType === 9) return new Sys.UI.Point(0,0);
var clientRects = element.getClientRects();
if (!clientRects || !clientRects.length) {
return new Sys.UI.Point(0,0);
}
...
The button is disabled if none of the nodes in the RadTreeView are selected.
When the button is disabled, if I mouseover the button I get a DOM in jscript code:
Sys.ArgumentException: Value must be a DOM element
Parameter name: element
Line 5949 of ScriptResource.axd:
switch(Sys.Browser.agent) {
case Sys.Browser.InternetExplorer:
Sys.UI.DomElement.getLocation = function Sys$UI$DomElement$getLocation(element) {
/// <param name="element" domElement="true"></param>
/// <returns type="Sys.UI.Point"></returns>
var e = Function._validateParams(arguments, [
{name: "element", domElement: true}
]);
if (e) throw e;
if (element.self || element.nodeType === 9) return new Sys.UI.Point(0,0);
var clientRects = element.getClientRects();
if (!clientRects || !clientRects.length) {
return new Sys.UI.Point(0,0);
}
...