This is a migrated thread and some comments may be shown as answers.

Exception raised closing browser windows-'mousedown' event handler can't be removed

3 Answers 209 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Curt
Top achievements
Rank 1
Curt asked on 17 Apr 2014, 05:33 PM
I am getting a JavaScript exception everytime I close a window containing my Telerik combobox hosting Web page. Looks like Telerik is trying to unregister a 'mousedown' event handler but the object does not have this handler defined.

My ASPX page includes the following scripts:  jquery-1.10.2.js   and jquery-1.10.2.js
My RadScriptManager has the EnableEmbeddedjQuery="false"
I'm using Telerik version 2014.1.403.45

Any suggestions as to why this is happening?

Call stack:
commonScripts._removeHandler [Telerik.Web.UI.WebResource.axd] Line 560 Script
commonScripts.removeHandler [Telerik.Web.UI.WebResource.axd] Line 558 Script
b.RadComboBox.prototype._detachDocumentEvents [Telerik.Web.UI.WebResource.axd] Line 3990 Script
b.RadComboBox.prototype.dispose [Telerik.Web.UI.WebResource.axd] Line 4001 Script
Sys._Application.prototype.dispose [Telerik.Web.UI.WebResource.axd] Line 6 Script
Sys._Application.prototype._unloadHandler [Telerik.Web.UI.WebResource.axd] Line 6 Script
Anonymous function [Telerik.Web.UI.WebResource.axd] Line 6 Script
b [Telerik.Web.UI.WebResource.axd] Line 6 Script

Exception:
Unhandled exception at line 560, column 1 in http://localhost/Fieldpoint.Website/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=radGlobalScriptManager_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:5924cf72-83cf-477d-98eb-a608a92942c5:ea597d4b:b25378d2;Telerik.Web.UI:en-US:68d9452f-f268-45b2-8db7-8c3bbf305b8d:16e4e7cd:365331c3:24ee1bba:ed16cbdc:2003d0b8:f46195d3:88144a7a:1e771326:aa288e2d:258f1c72

0x800a138f - JavaScript runtime error: Unable to get property 'mousedown' of undefined or null referenceUnhandled exception at line 560, column 1 in http://localhost/Fieldpoint.Website/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=radGlobalScriptManager_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:5924cf72-83cf-477d-98eb-a608a92942c5:ea597d4b:b25378d2;Telerik.Web.UI:en-US:68d9452f-f268-45b2-8db7-8c3bbf305b8d:16e4e7cd:365331c3:24ee1bba:ed16cbdc:2003d0b8:f46195d3:88144a7a:1e771326:aa288e2d:258f1c72

0x800a138f - JavaScript runtime error: Unable to get property 'mousedown' of undefined or null reference

3 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 22 Apr 2014, 08:29 AM
Hello Curt,

I am afraid, that I was unable to replicate the described problem locally. Could you specify the browser, under which you had encountered the problem? In addition, it would be very helpful if you could submit a support ticket, along with a runnable sample attached replicating the problem.

Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Alfonso
Top achievements
Rank 1
answered on 04 Sep 2014, 10:30 PM
I am having the exact same issue after upgrading to Telerik 2014.2.724.45 FROM 2010....

After closing a window that pops up from the main window I get the following error:

Unhandled exception at line 771, column 1 in http://localhost:34684/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:fa6755fd-da1a-49d3-9eb4-1e473e780ecd:ea597d4b:b25378d2;eKM.Web.UI:en-US:f8767ef4-2ce9-4391-83bc-51950a7da572:17865e6a;Telerik.Web.UI,+Version=2014.2.724.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:6915a8c2-c063-435a-ab31-d2d2285652a6:16e4e7cd:f7645509:24ee1bba:88144a7a:1e771326:a7e79140:cb4a7569:30f1f089:c128760b:19620875:874f8ea2:f46195d3:92fe8ea0:fa31b949:490a9d4e:e330518b:8e6f0d33:6a6d718d:58366029;eKM.Web.UI:en-US:f8767ef4-2ce9-4391-83bc-51950a7da572:139a3f55;Telerik.Web.UI,+Version=2014.2.724.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:6915a8c2-c063-435a-ab31-d2d2285652a6:2003d0b8:2bef5fcc:e06b58fd:b7778d6c:cda80b3;eKM.Web.UI:en-US:f8767ef4-2ce9-4391-83bc-51950a7da572:a22bb13d:b6a25c64;Telerik.Web.UI,+Version=2014.2.724.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:6915a8c2-c063-435a-ab31-d2d2285652a6:aa288e2d:258f1c72:bd8f85e4;eKM.Web.UI:en-US:f8767ef4-2ce9-4391-83bc-51950a7da572:5745ee17;Telerik.Web.UI,+Version=2014.2.724.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:6915a8c2-c063-435a-ab31-d2d2285652a6:86526ba7;AjaxControlToolkit,+Version=3.0.30512.20315,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:2a404968-beb9-41c5-98fb-26019e941d81:b14bb7d5:dc2d6e36:5acd2e8e:13f47f54:f28d3664

0x800a138f - JavaScript runtime error: Unable to get property 'propertychange' of undefined or null reference

And the "break" in the code is at the bottom of the below large snippet in Core.js:


/* START Telerik.Web.UI.Common.Core.js */
(function(Q,o,P){var x,L=Object.prototype,q=Function.prototype,h=Array.prototype,e=L.toString,b=L.hasOwnProperty,d=h.slice,K="[object Object]",r="[object Function]",n="div",N="span",t="input",i="audio",O="type";
var B=h.forEach,G=h.map,H=h.reduce,I=h.reduceRight,A=h.filter,z=h.every,J=h.some,C=h.indexOf,F=h.lastIndexOf,D=Array.isArray,E=Object.keys,y=q.bind;
var a=function(W,T,R){if(W==null){return;
}if(B&&W.forEach===B){W.forEach(T,R);
}else{if(W.length===+W.length){for(var S=0,V=W.length;
S<V;
S++){T.call(R,W[S],S,W);
}}else{for(var U in W){if(b.call(W,U)){T.call(R,W[U],U,W);
}}}}};
function v(R){return e.call(R)===K;
}function u(R){return e.call(R)===r;
}function c(R,S){S();
}function m(R){return o.createElement(R);
}function s(S,R){return S.indexOf(R);
}function w(R,S){return R.match(S);
}var p=function(){};
p.prototype={addTest:function g(R,U,T){var S=this,T=T||S;
if(T[R]!==P){return;
}U=u(U)?U():U;
T[R]=U;
},addSuite:function f(T,U){var S=this,T=S[T]={};
for(var R in U){if(U.hasOwnProperty(R)){S.addTest(R,U[R],T);
}}}};
var M=new p();
var j=new p();
var k=new p();
var l=new p();
c("Platform",function(){var R=Q.navigator,S=R.userAgent;
M.addTest("windows",function(){return(s(S,"Windows")>-1);
});
M.addTest("mac",function(){return(s(S,"Macintosh")>-1);
});
M.addTest("linux",function(){return(s(S,"Linux")>-1&&!s(S,"Android")>-1);
});
M.addTest("android",function(){return(s(S,"Android")>-1);
});
M.addTest("ios",function(){return(s(S,"iPad")>-1||s(S,"iPhone")>-1);
});
M.addTest("ipad",function(){return(s(S,"iPad")>-1);
});
M.addTest("iphone",function(){return(s(S,"iPhone")>-1);
});
});
c("Browser",function(){var R=Q.navigator,S=R.userAgent;
j.addTest("ie",function(){return(s(S," MSIE ")>-1||s(S," IE ")>-1||s(S," Trident/")>-1);
});
j.addTest("ff",function(){return(!j.ie&&s(S," Firefox/")>-1);
});
j.addTest("opera",function(){return(s(S," OPR/")>-1);
});
j.addTest("operaPresto",function(){return(s(S,"Opera/")>-1);
});
j.addTest("operaMini",function(){return(s(S," Opera Mini/")>-1);
});
j.addTest("webkit",function(){return(s(S," AppleWebKit/")>-1);
});
j.addTest("safari",function(){return(j.webkit&&s(S," Version/")>-1);
});
j.addTest("chrome",function(){return(j.webkit&&!j.opera&&s(S," Chrome/")>-1);
});
j.addTest("fullVersion",function(){var T=null;
fullVersion=null;
if(j.ie){T=s(S," rv:")>-1?/rv:([\d\.]+)/:/MSIE ([\d\.]+)/;
}if(j.ff){T=/Firefox\/([\d\.]+)/;
}if(j.opera){T=/OPR\/([\d\.]+)/;
}if(j.operaPresto){T=/Version\/([\d\.]+)/;
}if(j.safari){T=/Version\/([\d\.]+)/;
}if(j.chrome){T=/Chrome\/([\d\.]+)/;
}if(T===null){return null;
}return w(S,T)[1];
});
j.addTest("version",function(){var T=j.fullVersion;
if(T===null){return null;
}return parseFloat(T);
});
j.addTest("documentMode",o.documentMode||null);
j.addTest("quirksMode",j.ie&&o.compatMode!=="CSS1Compat");
j.addTest("standardsMode",!j.quirksMode);
});
c("Canvas",function(){var R=m("canvas");
k.addTest("canvas",!!(R.getContext&&R.getContext("2d")));
});
c("Input",function(){var R=m(t);
k.addSuite("input",{autocomplete:!!("autocomplete" in R),autofocus:!!("autofocus" in R),list:!!("list" in R),max:!!("max" in R),min:!!("min" in R),multiple:!!("multiple" in R),pattern:!!("pattern" in R),placeholder:!!("placeholder" in R),required:!!("required" in R),step:!!("step" in R)});
});
c("Input types",function(){var R=m(t);
function S(T){R.setAttribute("type",T);
return R.type!=="text";
}k.addSuite("inputTypes",{color:S("color"),date:S("date"),datetime:S("datetime"),"datetime-local":S("datetime-local"),email:S("email"),month:S("month"),number:S("number"),range:S("range"),search:S("search"),tel:S("tel"),time:S("time"),url:S("url"),week:S("week")});
});
c("Observers",function(){k.addTest("propertychange","onpropertychange" in o);
});
c("CSS Features",function(){function R(){var V=o.documentElement,U=o.createElement("div"),S=o.body,T=S||o.createElement("body"),W;
U.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both";
U.innerHTML="&nbsp;";
T.appendChild(U);
if(!S){V.appendChild(T);
}W=U.offsetWidth-U.scrollWidth;
U.parentNode.removeChild(U);
if(!S){T.parentNode.removeChild(T);
}return W;
}j.addTest("scrollBarWidth",R);
});
Type.registerNamespace("Telerik.Web");
x=Telerik.Web;
x.Platform=M;
x.Browser=j;
x.BrowserFeatures=k;
x.BrowserPlugins=l;
})(window,document);
try{if(Sys.Browser.agent==Sys.Browser.InternetExplorer){document.execCommand("BackgroundImageCache",false,true);
}}catch(err){}Type.registerNamespace("Telerik.Web.UI");
var commonScripts={cloneJsObject:function(c,d){if(!d){d={};
}for(var a in c){var b=c[a];
d[a]=(b instanceof Array)?Array.clone(b):b;
}return d;
},isCloned:function(){return this._isCloned;
},cloneControl:function(f,d,a){if(!f){return null;
}if(!d){d=Object.getType(f);
}var e=f.__clonedProperties__;
if(null==e){e=f.__clonedProperties__=$telerik._getPropertiesParameter(f,d);
}if(!a){a=f.get_element().cloneNode(true);
a.removeAttribute("control");
a.removeAttribute("id");
}var c=$create(d,e,null,null,a);
if(f._observerContext){c._observerContext=f._observerContext;
}var b=$telerik.cloneJsObject(f.get_events());
c._events=b;
c._events._list=$telerik.cloneJsObject(c._events._list);
c._isCloned=true;
c.isCloned=$telerik.isCloned;
return c;
},_getPropertiesParameter:function(h,d){var c={};
var f=d.prototype;
for(var b in f){var a=h[b];
if(typeof(a)=="function"&&b.indexOf("get_")==0){var e=b.substring(4);
if(null==h["set_"+e]){continue;
}var g=a.call(h);
if(null==g){continue;
}c[e]=g;
}}delete c.clientStateFieldID;
delete c.id;
return c;
},getOuterSize:function(a){var c=$telerik.getSize(a);
var b=$telerik.getMarginBox(a);
return{width:c.width+b.left+b.right,height:c.height+b.top+b.bottom};
},getOuterBounds:function(a){var c=$telerik.getBounds(a);
var b=$telerik.getMarginBox(a);
return{x:c.x-b.left,y:c.y-b.top,width:c.width+b.left+b.right,height:c.height+b.top+b.bottom};
},getInvisibleParent:function(a){while(a&&a!=document){if("none"==$telerik.getCurrentStyle(a,"display","")){return a;
}a=a.parentNode;
}return null;
},isScrolledIntoView:function(d){var a=d.ownerDocument;
var g=(a.defaultView)?a.defaultView:a.parentWindow;
var c=$telerik.$(g).scrollTop(),b=c+$telerik.$(g).height(),f=$telerik.$(d).offset().top,e=f+$telerik.$(d).height();
return((f+((e-f)/4))>=c&&((f+((e-f)/4))<=b));
},scrollIntoView:function(b){if(!b||!b.parentNode){return;
}var g=null,c=b.offsetParent,h=b.offsetTop,f=0;
var e=b.parentNode;
while(e!=null){var d=$telerik.getCurrentStyle(e,"overflowY");
if(d=="scroll"||d=="auto"){g=e;
break;
}if(e==c){h+=e.offsetTop;
c=e.offsetParent;
}if(e.tagName=="BODY"){var a=e.ownerDocument;
if(!$telerik.isIE&&a.defaultView&&a.defaultView.frameElement){f=a.defaultView.frameElement.offsetHeight;
}g=e;
break;
}e=e.parentNode;
}if(!g){return;
}if(!f){f=g.offsetHeight;
}if((g.scrollTop+f)<(h+b.offsetHeight)){g.scrollTop=(h+b.offsetHeight)-f;
}else{if(h<(g.scrollTop)){g.scrollTop=h;
}}},getScrollableParent:function(a){var c=a.parentNode,d=null,b;
while(c!=null){b=$telerik.getCurrentStyle(c,"overflowY");
if(b=="scroll"||b=="auto"){d=c;
break;
}c=c.parentNode;
}return d;
},getScrollableParents:function(a){var c=a.parentNode,d=[],b;
while(c!=null&&c.nodeType===1){b=$telerik.getCurrentStyle(c,"overflowY");
if(b=="scroll"||b=="auto"){d.push(c);
}c=c.parentNode;
}return d;
},fixScrollableParentBehavior_OldIE:function(a){if(!($telerik.isIE6||$telerik.isIE7)||(!a||a.nodeType!==1)){return;
}var c=$telerik.getScrollableParent(a),b=$telerik.getComputedStyle(c,"position");
if(b=="static"){c.style.position="relative";
}},isRightToLeft:function(b){while(b&&b.nodeType!==9){var a=$telerik.getCurrentStyle(b,"direction");
if(b.dir=="rtl"||a=="rtl"){return true;
}if(b.dir=="ltr"||a=="ltr"){return false;
}b=b.parentNode;
}return false;
},getCorrectScrollLeft:function(a){if($telerik.isRightToLeft(a)){return -(a.scrollWidth-a.offsetWidth-Math.abs(a.scrollLeft));
}else{return a.scrollLeft;
}},_borderStyleNames:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],_borderWidthNames:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],_paddingWidthNames:["paddingTop","paddingRight","paddingBottom","paddingLeft"],_marginWidthNames:["marginTop","marginRight","marginBottom","marginLeft"],radControls:[],registerControl:function(a){if(!Array.contains(this.radControls,a)){Array.add(this.radControls,a);
}},unregisterControl:function(a){Array.remove(this.radControls,a);
},repaintChildren:function(d){var e=d.get_element?d.get_element():d;
for(var b=0,c=this.radControls.length;
b<c;
b++){var a=this.radControls[b];
if(a.repaint&&this.isDescendant(e,a.get_element())){a.repaint();
}}},_borderThickness:function(){$telerik._borderThicknesses={};
var b=document.createElement("div");
var d=document.createElement("div");
b.style.visibility="hidden";
b.style.position="absolute";
b.style.top="-9999px";
b.style.fontSize="1px";
d.style.height="0px";
d.style.overflow="hidden";
document.body.appendChild(b).appendChild(d);
var a=b.offsetHeight;
d.style.borderTop="solid black";
b.style.borderLeft="1px solid red";
d.style.borderTopWidth="thin";
$telerik._borderThicknesses.thin=b.offsetHeight-a;
d.style.borderTopWidth="medium";
$telerik._borderThicknesses.medium=b.offsetHeight-a;
d.style.borderTopWidth="thick";
$telerik._borderThicknesses.thick=b.offsetHeight-a;
var c=$telerik.getComputedStyle(b,"border-left-color",null);
var e=$telerik.getComputedStyle(d,"border-top-color",null);
if(c&&e&&c==e){document.documentElement.className+=" _Telerik_a11y";
}if(typeof(b.removeChild)!=="undefined"){b.removeChild(d);
}document.body.removeChild(b);
if(!$telerik.isSafari&&!$telerik.isIE10Mode){d.outerHTML=null;
}if(!$telerik.isSafari&&!$telerik.isIE10Mode){b.outerHTML=null;
}b=null;
d=null;
},getCurrentStyle:function(d,a,c){var b=null;
if(d){if(d.currentStyle){b=d.currentStyle[a];
}else{if(document.defaultView&&document.defaultView.getComputedStyle){var e=document.defaultView.getComputedStyle(d,null);
if(e){b=e[a];
}}}if(!b&&d.style){if(d.style.getPropertyValue){b=d.style.getPropertyValue(a);
}else{if(d.style.getAttribute){b=d.style.getAttribute(a);
}}}}if((!b||b==""||typeof(b)==="undefined")){if(typeof(c)!="undefined"){b=c;
}else{b=null;
}}return b;
},getComputedStyle:function(d,a,c){var b=null;
if(d){if(d.currentStyle){b=d.currentStyle[a];
}else{if(document.defaultView&&document.defaultView.getComputedStyle){var e=document.defaultView.getComputedStyle(d,null);
if(e){if(e.getPropertyValue){b=e.getPropertyValue(a);
}else{b=e[a];
}}}}if(!b&&d.style){if(d.style.getPropertyValue){b=d.style.getPropertyValue(a);
}else{if(d.style.getAttribute){b=d.style.getAttribute(a);
}}}}if((!b||b==""||typeof(b)==="undefined")){if(typeof(c)!="undefined"){b=c;
}else{b=null;
}}return b;
},getLocation:function(g){var d=g&&g.ownerDocument?g.ownerDocument:document;
if(g===d.documentElement){return new Sys.UI.Point(0,0);
}if(Sys.Browser.agent==Sys.Browser.InternetExplorer){if(g.window===g||g.nodeType===9||!g.getClientRects||!g.getBoundingClientRect||g.parentElement==null){return new Sys.UI.Point(0,0);
}var H=g.getClientRects();
if(!H||!H.length){return new Sys.UI.Point(0,0);
}var k=H[0];
var c=0;
var f=0;
var p=false;
try{p=d.parentWindow.frameElement;
}catch(j){p=true;
}if(p){var b=g.getBoundingClientRect();
if(!b){return new Sys.UI.Point(0,0);
}var t=k.left;
var u=k.top;
for(var o=1;
o<H.length;
o++){var F=H[o];
if(F.left<t){t=F.left;
}if(F.top<u){u=F.top;
}}c=t-b.left;
f=u-b.top;
}var I=0;
if(($telerik.isIE6||$telerik.isIE7)||$telerik.quirksMode){var n=1;
if(p&&p.getAttribute){var a=p.getAttribute("frameborder");
if(a!=null){n=parseInt(a,10);
if(isNaN(n)){n=a.toLowerCase()=="no"?0:1;
}}}I=2*n;
}var e=d.documentElement;
var D=k.left-I-c+$telerik.getCorrectScrollLeft(e);
var E=k.top-I-f+e.scrollTop;
var C=new Sys.UI.Point(Math.round(D),Math.round(E));
if($telerik.quirksMode){C.x+=$telerik.getCorrectScrollLeft(d.body);
C.y+=d.body.scrollTop;
}return C;
}var C=$telerik.originalGetLocation(g);
if($telerik.isOpera){var z=null;
var h=$telerik.getCurrentStyle(g,"display");
if(h!="inline"){z=g.parentNode;
}else{z=g.offsetParent;
}while(z){var B=z.tagName.toUpperCase();
if(B=="BODY"||B=="HTML"){break;
}if(B=="TABLE"&&z.parentNode&&z.parentNode.style.display=="inline-block"){var w=z.offsetLeft;
var v=z.style.display;
z.style.display="inline-block";
if(z.offsetLeft>w){C.x+=z.offsetLeft-w;
}z.style.display=v;
}C.x-=$telerik.getCorrectScrollLeft(z);
C.y-=z.scrollTop;
if(h!="inline"){z=z.parentNode;
}else{z=z.offsetParent;
}}}var y=Math.max(d.documentElement.scrollTop,d.body.scrollTop);
var x=Math.max(d.documentElement.scrollLeft,d.body.scrollLeft);
if($telerik.isSafari){if(y>0||x>0){var m=d.documentElement.getElementsByTagName("form");
if(m&&m.length>0){var l=$telerik.originalGetLocation(m[0]);
if(l.y&&l.y<0){C.y+=y;
}if(l.x&&l.x<0){C.x+=x;
}}else{var G=g.parentNode,s=false,q=false;
while(G&&G.tagName){var A=$telerik.originalGetLocation(G);
if(A.y<0){s=true;
}if(A.x<0){q=true;
}G=G.parentNode;
}if(s){C.y+=y;
}if(q){C.x+=x;
}}}}return C;
},setLocation:function(a,b){Sys.UI.DomElement.setLocation(a,b.x,b.y);
},findControl:function(f,d){var b=f.getElementsByTagName("*");
for(var c=0,e=b.length;
c<e;
c++){var a=b[c].id;
if(a&&a.endsWith(d)){return $find(a);
}}return null;
},findElement:function(f,d){var b=f.getElementsByTagName("*");
for(var c=0,e=b.length;
c<e;
c++){var a=b[c].id;
if(a&&a.endsWith(d)){return $get(a);
}}return null;
},getContentSize:function(b){if(!b){throw Error.argumentNull("element");
}var d=$telerik.getSize(b);
var a=$telerik.getBorderBox(b);
var c=$telerik.getPaddingBox(b);
return{width:d.width-a.horizontal-c.horizontal,height:d.height-a.vertical-c.vertical};
},getSize:function(a){if(!a){throw Error.argumentNull("element");
}return{width:a.offsetWidth,height:a.offsetHeight};
},setContentSize:function(b,d){if(!b){throw Error.argumentNull("element");
}if(!d){throw Error.argumentNull("size");
}if($telerik.getCurrentStyle(b,"MozBoxSizing")=="border-box"||$telerik.getCurrentStyle(b,"BoxSizing")=="border-box"){var a=$telerik.getBorderBox(b);
var c=$telerik.getPaddingBox(b);
d={width:d.width+a.horizontal+c.horizontal,height:d.height+a.vertical+c.vertical};
}b.style.width=d.width.toString()+"px";
b.style.height=d.height.toString()+"px";
},setSize:function(c,e){if(!c){throw Error.argumentNull("element");
}if(!e){throw Error.argumentNull("size");
}var a=$telerik.getBorderBox(c);
var d=$telerik.getPaddingBox(c);
var b={width:e.width-a.horizontal-d.horizontal,height:e.height-a.vertical-d.vertical};
$telerik.setContentSize(c,b);
},getBounds:function(a){var b=$telerik.getLocation(a);
return new Sys.UI.Bounds(b.x,b.y,a.offsetWidth||0,a.offsetHeight||0);
},setBounds:function(b,a){if(!b){throw Error.argumentNull("element");
}if(!a){throw Error.argumentNull("bounds");
}$telerik.setSize(b,a);
$telerik.setLocation(b,a);
},getClientBounds:function(){var b;
var a;
switch(Sys.Browser.agent){case Sys.Browser.InternetExplorer:b=document.documentElement.clientWidth;
a=document.documentElement.clientHeight;
if(b==0&&a==0){b=document.body.clientWidth;
a=document.body.clientHeight;
}break;
case Sys.Browser.Safari:b=window.innerWidth;
a=window.innerHeight;
break;
case Sys.Browser.Opera:if(Sys.Browser.version>=9.5){b=Math.min(window.innerWidth,document.documentElement.clientWidth);
a=Math.min(window.innerHeight,document.documentElement.clientHeight);
}else{b=Math.min(window.innerWidth,document.body.clientWidth);
a=Math.min(window.innerHeight,document.body.clientHeight);
}break;
default:b=Math.min(window.innerWidth,document.documentElement.clientWidth);
a=Math.min(window.innerHeight,document.documentElement.clientHeight);
break;
}return new Sys.UI.Bounds(0,0,b,a);
},getMarginBox:function(b){if(!b){throw Error.argumentNull("element");
}var a={top:$telerik.getMargin(b,Telerik.Web.BoxSide.Top),right:$telerik.getMargin(b,Telerik.Web.BoxSide.Right),bottom:$telerik.getMargin(b,Telerik.Web.BoxSide.Bottom),left:$telerik.getMargin(b,Telerik.Web.BoxSide.Left)};
a.horizontal=a.left+a.right;
a.vertical=a.top+a.bottom;
return a;
},getPaddingBox:function(b){if(!b){throw Error.argumentNull("element");
}var a={top:$telerik.getPadding(b,Telerik.Web.BoxSide.Top),right:$telerik.getPadding(b,Telerik.Web.BoxSide.Right),bottom:$telerik.getPadding(b,Telerik.Web.BoxSide.Bottom),left:$telerik.getPadding(b,Telerik.Web.BoxSide.Left)};
a.horizontal=a.left+a.right;
a.vertical=a.top+a.bottom;
return a;
},getBorderBox:function(b){if(!b){throw Error.argumentNull("element");
}var a={top:$telerik.getBorderWidth(b,Telerik.Web.BoxSide.Top),right:$telerik.getBorderWidth(b,Telerik.Web.BoxSide.Right),bottom:$telerik.getBorderWidth(b,Telerik.Web.BoxSide.Bottom),left:$telerik.getBorderWidth(b,Telerik.Web.BoxSide.Left)};
a.horizontal=a.left+a.right;
a.vertical=a.top+a.bottom;
return a;
},isBorderVisible:function(b,a){if(!b){throw Error.argumentNull("element");
}if(a<Telerik.Web.BoxSide.Top||a>Telerik.Web.BoxSide.Left){throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,a,"Telerik.Web.BoxSide"));
}var c=$telerik._borderStyleNames[a];
var d=$telerik.getCurrentStyle(b,c);
return d!="none";
},getMargin:function(b,a){if(!b){throw Error.argumentNull("element");
}if(a<Telerik.Web.BoxSide.Top||a>Telerik.Web.BoxSide.Left){throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,a,"Telerik.Web.BoxSide"));
}var d=$telerik._marginWidthNames[a];
var e=$telerik.getCurrentStyle(b,d);
try{return $telerik.parsePadding(e);
}catch(c){return 0;
}},getBorderWidth:function(b,a){if(!b){throw Error.argumentNull("element");
}if(a<Telerik.Web.BoxSide.Top||a>Telerik.Web.BoxSide.Left){throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,a,"Telerik.Web.BoxSide"));
}if(!$telerik.isBorderVisible(b,a)){return 0;
}var c=$telerik._borderWidthNames[a];
var d=$telerik.getCurrentStyle(b,c);
return $telerik.parseBorderWidth(d);
},getPadding:function(b,a){if(!b){throw Error.argumentNull("element");
}if(a<Telerik.Web.BoxSide.Top||a>Telerik.Web.BoxSide.Left){throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,a,"Telerik.Web.BoxSide"));
}var c=$telerik._paddingWidthNames[a];
var d=$telerik.getCurrentStyle(b,c);
return $telerik.parsePadding(d);
},parseBorderWidth:function(a){if(a){switch(a){case"thin":case"medium":case"thick":return $telerik._borderThicknesses[a];
case"inherit":return 0;
}var b=$telerik.parseUnit(a);
return b.size;
}return 0;
},parsePadding:function(a){if(a){if(a=="auto"||a=="inherit"){return 0;
}var b=$telerik.parseUnit(a);
return b.size;
}return 0;
},parseUnit:function(g){if(!g){throw Error.argumentNull("value");
}g=g.trim().toLowerCase();
var c=g.length;
var d=-1;
for(var b=0;
b<c;
b++){var a=g.substr(b,1);
if((a<"0"||a>"9")&&a!="-"&&a!="."&&a!=","){break;
}d=b;
}if(d==-1){throw Error.create("No digits");
}var f;
var e;
if(d<(c-1)){f=g.substring(d+1).trim();
}else{f="px";
}e=parseFloat(g.substr(0,d+1));
if(f=="px"){e=Math.floor(e);
}return{size:e,type:f};
},containsPoint:function(a,b,c){return b>=a.x&&b<=(a.x+a.width)&&c>=a.y&&c<=(a.y+a.height);
},isDescendant:function(a,b){try{for(var d=b.parentNode;
d!=null;
d=d.parentNode){if(d==a){return true;
}}}catch(c){}return false;
},isDescendantOrSelf:function(a,b){if(a===b){return true;
}return $telerik.isDescendant(a,b);
},addCssClasses:function(b,a){for(var c=0;
c<a.length;
c++){Sys.UI.DomElement.addCssClass(b,a[c]);
}},removeCssClasses:function(b,a){for(var c=0;
c<a.length;
c++){Sys.UI.DomElement.removeCssClass(b,a[c]);
}},getScrollOffset:function(b,e){var c=0;
var f=0;
var d=b;
var a=b&&b.ownerDocument?b.ownerDocument:document;
while(d!=null&&d.scrollLeft!=null){c+=$telerik.getCorrectScrollLeft(d);
f+=d.scrollTop;
if(!e||(d==a.body&&(d.scrollLeft!=0||d.scrollTop!=0))){break;
}d=d.parentNode;
}return{x:c,y:f};
},getElementByClassName:function(d,c,g){if(d.getElementsByClassName){return d.getElementsByClassName(c)[0];
}var b=null;
if(g){b=d.getElementsByTagName(g);
}else{b=d.getElementsByTagName("*");
}for(var e=0,f=b.length;
e<f;
e++){var a=b[e];
if(Sys.UI.DomElement.containsCssClass(a,c)){return a;
}}return null;
},getElementsByClassName:function(b,a,c){b=b||document;
if(b.getElementsByClassName){getElementsByClassName=function(d,m,g){var f=g.getElementsByClassName(d),k=(m)?new RegExp("\\b"+m+"\\b","i"):null,l=[],e;
for(var h=0,j=f.length;
h<j;
h+=1){e=f[h];
if(!k||k.test(e.nodeName)){l.push(e);
}}return l;
};
}else{if(document.evaluate){getElementsByClassName=function(g,q,k){q=q||"*";
var d=g.split(" "),f="",r="http://www.w3.org/1999/xhtml",n=(document.documentElement.namespaceURI===r)?r:null,p=[],i,o;
for(var l=0,m=d.length;
l<m;
l+=1){f+="[contains(concat(' ', @class, ' '), ' "+d[l]+" ')]";
}try{i=document.evaluate(".//"+q+f,k,n,0,null);
}catch(h){i=document.evaluate(".//"+q+f,k,null,0,null);
}while((o=i.iterateNext())){p.push(o);
}return p;
};
}else{getElementsByClassName=function(f,u,i){u=u||"*";
var d=f.split(" "),e=[],h=(u==="*"&&i.all)?i.all:i.getElementsByTagName(u),g,t=[],r;
for(var j=0,n=d.length;
j<n;
j+=1){e.push(new RegExp("(^|\\s)"+d[j]+"(\\s|$)"));
}for(var o=0,p=h.length;
o<p;
o+=1){g=h[o];
r=false;
for(var q=0,s=e.length;
q<s;
q+=1){r=e[q].test(g.className);
if(!r){break;
}}if(r){t.push(g);
}}return t;
};
}}return getElementsByClassName(a,c,b);
},_getWindow:function(b){var a=b.ownerDocument||b.document||b;
return a.defaultView||a.parentWindow;
},useAttachEvent:function(a){return(a.attachEvent&&!$telerik.isOpera);
},useDetachEvent:function(a){return(a.detachEvent&&!$telerik.isOpera);
},addHandler:function(e,g,h,a){if(!e._events){e._events={};
}var f=e._events[g];
if(!f){e._events[g]=f=[];
}var b;
if($telerik.useAttachEvent(e)){b=function(){var d={};
try{d=$telerik._getWindow(e).event;
}catch(i){}return h.call(e,new Sys.UI.DomEvent(d));
};
e.attachEvent("on"+g,b);
}else{if(e.addEventListener){b=function(d){return h.call(e,new Sys.UI.DomEvent(d));
};
e.addEventListener(g,b,false);
}}f[f.length]={handler:h,browserHandler:b,autoRemove:a};
if(a){var c=e.dispose;
if(c!==$telerik._disposeHandlers){e.dispose=$telerik._disposeHandlers;
if(typeof(c)!=="undefined"){e._chainDispose=c;
}}}},addHandlers:function(b,c,e,a){for(var f in c){var d=c[f];
if(e){d=Function.createDelegate(e,d);
}$telerik.addHandler(b,f,d,a||false);
}},clearHandlers:function(a){$telerik._clearHandlers(a,false);
},_clearHandlers:function(c,a){if(c._events){var b=c._events;
for(var g in b){var e=b[g];
for(var f=e.length-1;
f>=0;
f--){var d=e[f];
if(!a||d.autoRemove){$telerik.removeHandler(c,g,d.handler);
}}}c._events=null;
}},_disposeHandlers:function(){$telerik._clearHandlers(this,true);
var a=this._chainDispose,b=typeof(a);
if(b!=="undefined"){this.dispose=a;
this._chainDispose=null;
if(b==="function"){this.dispose();
}}},removeHandler:function(a,b,c){$telerik._removeHandler(a,b,c);
},_removeHandler:function(c,d,e){var a=null;
var b=c._events[d]||[];

It seems like the control that is possibly causing the problem is  some modal Spell Check. The id is id = "consultPanel_ctlSpellModal_SpellCheck"

0
Nencho
Telerik team
answered on 09 Sep 2014, 01:31 PM
Hello Alfonso,

As we are not aware of such issue, I would like to ask to provide us with the implementation that you use at your end, so we could perform some local tests and try to investigate the problem. Also it would be very helpful if you could submit a support ticket along with a runnable sample attached, so we could pinpoint the issue and provide you with the proper solution.

Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Curt
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Alfonso
Top achievements
Rank 1
Share this question
or