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

IE8 - Unexpected call to method or property access

9 Answers 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Roland
Top achievements
Rank 1
Roland asked on 10 Jul 2009, 08:14 PM
Hello,

I have a page. Page has RadGrid , few comboboxes and toolbar.

I have this error:


Message: Unexpected call to method or property access.
Line: 14547
Char: 25
Code: 0
URI: http://localhost:3312/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.701.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a7e598a31-3beb-49a1-914c-5f530240f0ea%3a16e4e7cd%3aed16cbdc%3a86526ba7%3a874f8ea2%3af7645509%3a24ee1bba%3a19620875%3a33108d14%3abd8f85e4%3a1e771326%3aaa288e2d%3ab7778d6c%3aa7e79140%3a58366029%3ae330518b%3ac8618e41%3ae4f8f289

I also have the output of that script (1MB, cant attach here)

Fragment:
var c=this.get_parent(); 
var f=c.get_openedItem(); 
if(f&&f!=this){f._close(g) 
}if(c._state!=Telerik.Web.UI.RadMenuItemState.Open&&c.open){c._open(g) 
}c._focusedItem=this
var d=this.get_menu(); 
d._focusedItem=this
var b=this.get_linkElement(); 
if(!this.get_focused()&&b){b.focus() 
}this.get_menu()._raiseEvent("itemFocus",new Telerik.Web.UI.RadMenuItemFocusEventArgs(this,g)) 
},_doBlur:function(d){if(this.get_isSeparator()){return 
}if(this.get_focused()){this.get_linkElement().blur()  //error in this line 
}this.get_parent()._focusedItem=null
var b=this.get_menu(); 
 


What can be the reason of this error ?

9 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 13 Jul 2009, 08:44 AM
Hello Roland,

Are you using the latest official version of IE8?

It seems the previous (beta) versions of the browser have that problem.

Also, make sure you use the at least version 2009.1.402 of RadControls.

Greetings,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Roland
Top achievements
Rank 1
answered on 13 Jul 2009, 01:45 PM
Thanks for reply.

I am using Telerik 2009.2.701.35 version and IE8 official version 8.0.6001.18702.

I always had some script problems with IE :S




0
Accepted
T. Tsonev
Telerik team
answered on 13 Jul 2009, 05:12 PM
Hi Roland,

We've recently fixed a similar issue that might be related to the one reported here. Please, download the  latest internal build tomorrow (version 2009.2.710 and up) and give it a try to see if it resolves the issue.

Regards,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Allen
Top achievements
Rank 1
answered on 29 Apr 2010, 11:33 AM
I am using version 2009.3.1103.35 of the Rad Controls in a Sitefinity website and getting this error as well in IE8 (in standard or compatibility mode).  Here is a bit of the problematic code:

},wrapInner:function(a){return this.each(function(){V(this).contents().wrapAll(a); 
}); 
},wrap:function(a){return this.each(function(){V(this).wrapAll(a); 
}); 
},append:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.appendChild(a); 
}}); 
},prepend:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.insertBefore(a,this.firstChild); 
}}); 
},before:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this); 
}); 
},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling); 
}); 
},end:function(){return this.prevObject||V([]); 
},push:[].push,sort:[].sort,splice:[].splice,find:function(a){if(this.length===1){var b=this.pushStack([],"find",a); 
b.length=0; 
V.find(a,this[0],b); 
return b; 
}else{return this.pushStack(V.unique(V.map(this,function(c){return V.find(a,c); 
 

It is complaining at the "this.appendChild(a)."   It's really causing some difficulty in my page so any hint on how to fix it would be great.

Thanks in advance.

0
Peter
Telerik team
answered on 05 May 2010, 10:18 AM
Hi Allen,

Do you have a live url with the issue which we can test? If not, then can you isolate the problem in a simple working project and send it to us via a support ticket?


Regards,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Allen
Top achievements
Rank 1
answered on 05 May 2010, 08:53 PM
I do.  It is here. I am also using clueTip (http://plugins.jquery.com/project/cluetip) which in conjunction with Telerik seems to be the culprit.  Either jQuery item works fine alone.  However, the error being thrown is from a Telerik web resource which is what made me post to you guys. I am not a jQuery guru so I don't know if there is some conflict in version that is causing the issue, but either way, any advice is appreciated.

Thanks in advance.
0
T. Tsonev
Telerik team
answered on 11 May 2010, 10:56 AM
Hello Allen,

Indeed the error is occurring in the clueTip code itself. The error itself seems to be caused by an attempt to append a child element to an img element. Exactly how we got there is unclear.

Our suggestion is to start with a minimal page that contains only the image map and clueTip and add the rest of the content incrementally. This should make the problem more obvious.

I hope this helps.

Kind regards,
Tsvetomir Tsonev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Allen
Top achievements
Rank 1
answered on 11 May 2010, 08:20 PM
Tsvetomir,

I did initially begin with a "simple" image map.  The page worked fine until adding the Telerik list ListView.  That's when it stopped.  I have no idea why the jQuery is complaining about the appendChild code only after the ListView addition.  Still, thanks for the feedback.
0
T. Tsonev
Telerik team
answered on 13 May 2010, 08:12 AM
Hi Allen,

I've tried the code from your page with a simple image map and it doesn't work. The problem seems to be that you're a initializing the plug-in with the following parameter:

$.cluetip.setup({ insertionElement: '#usaClickable' });

Where usaClickable is an image. The plug-in attempts to add a child node to the image element and throws the error you see in IE (and fails silently in Firefox). Calling setup without this parameter solves the problem.

Best wishes,
Tsvetomir Tsonev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Roland
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Roland
Top achievements
Rank 1
T. Tsonev
Telerik team
Allen
Top achievements
Rank 1
Peter
Telerik team
Share this question
or