I've got a page which uses the tab control and on two of the pages I'm using the Prometheus grid control. When I click on the tab for those pages I get a Javascript error - Object doesn't support this property or method.
If I scroll up to the top of the JS code, it says it's:
Telerik.Web.UI.Common.Toolkit.CommonScripts.js
Unfortunately, I don't see this file anywhere in the Scripts directory (I know it's served out of the webresource.axd, I was just hoping that it was also available externally). At any rate, this is the line of code (in an anonymous function) that is failing:
_1.OnWindowResize();
It appears to fail because it's trying to call OnWindowResize and only has a onWindowResize function. Here's a bit of code around this line, if it helps:
Any ideas on how to fix this or at least work around it?
If I scroll up to the top of the JS code, it says it's:
Telerik.Web.UI.Common.Toolkit.CommonScripts.js
Unfortunately, I don't see this file anywhere in the Scripts directory (I know it's served out of the webresource.axd, I was just hoping that it was also available externally). At any rate, this is the line of code (in an anonymous function) that is failing:
_1.OnWindowResize();
It appears to fail because it's trying to call OnWindowResize and only has a onWindowResize function. Here's a bit of code around this line, if it helps:
| Telerik.Web.UI.GridScrolling.callBaseMethod(this,"dispose"); |
| },_initializeDimensions:function(){ |
| var _1=this; |
| this.applyFrozenScroll(); |
| this.onWindowResize(); |
| this.initializeAutoLayout(); |
| this._owner.get_element().RadResize=function(){ |
| _1.onWindowResize(); |
| }; |
| if(navigator.userAgent.toLowerCase().indexOf("msie")!=-1){ |
| this._onResizeDelegate=Function.createDelegate(this,this.onWindowResize); |
| setTimeout(function(){ |
| $addHandler(window,"resize",_1._onResizeDelegate); |
| },0); |
| }else{ |
| this._onResizeDelegate=Function.createDelegate(this,this.onWindowResize); |
| $addHandler(window,"resize",this._onResizeDelegate); |
| } |
| this._owner.get_element().RadShow=function(){ |
| _1.OnWindowResize(); |
| }; |
| },applyFrozenScroll:function(){ |
| this.isFrozenScroll=false; |
| this._frozenScroll=$get(this._owner.ClientID+"_Frozen"); |
| var _2=Telerik.Web.UI.Grid.getScrollBarHeight(); |
| if(this._frozenScroll){ |
| var _3=$get(this._owner.ClientID+"_FrozenScroll"); |
Any ideas on how to fix this or at least work around it?
