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

JS error in IE 8

6 Answers 84 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ekaterina
Top achievements
Rank 1
Ekaterina asked on 15 Jun 2011, 03:47 PM
I'm using IE8, version of Telerik.Web.UI is 2010.2.836.35.
In our application when Editor is opened under specific conditions, I receive next javascript error:

  Invalid argument.  

  Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f68db6e-ab92-4c56-8744-13e09bf43565%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a86f56c91-febb-4172-ae71-6c2ba2372421%3a16e4e7cd%3a86526ba7%3a874f8ea2%3af7645509%3a24ee1bba%3adc7e0bd%3a1569bb5f%3a63b115ed%3a1c565fc%3a30f1f089%3a19620875%3a490a9d4e, 
 
line 8464 character 1

In Chrome and Firefox I do not get this error.
Using IE debugger, I can see that error happens in next two lines:
http://clip2net.com/clip/m71805/1308143195-clip-49kb.png

Note, that function _fixIEHeight goes after height was assigned. So, if height was negative (as in my case), Invalid argument error is thrown, and I have no possibility to check what this height mean because js is obfuscated.
If we have this _fixIEHeight call before assigning the value, everything should be good, as function really fixes wrong values.

Now I can't give you easy scenario to reproduce, as RadEditor is highly tied with our application. Please reply if the information above makes any sense.

6 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 15 Jun 2011, 04:54 PM
Hello Ekaterina,

 We have actually found this problem and it is already fixed. The fix was done on 3/16/2011 and it is available in every later build. Please, upgrade to the latest internal build and let us know how it goes.

If you do not want to upgrade for the time being, try replacing the standard asp ScriptManager to RadScriptManager or set debug="false" in the Web.config.

Please, let me know whether the above suggestions work for you and accept our sincere apologies for the caused inconvenience.

Best wishes,
Svetlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Ekaterina
Top achievements
Rank 1
answered on 15 Jun 2011, 05:38 PM
Hi Svetlina,

Thank you for the fast reply! Seems that the issue was fixed in the latest version of our application with upgrading Telerik.Web.UI.
0
Suderson
Top achievements
Rank 1
answered on 23 Jun 2011, 12:52 PM
Hi All,

I've given MSI of my application to my tester. When the page navigation takes place in the grid, then the java script error is thrown saying that Invalid Argument "Telerik.Web.UI.WebResource.axd". In my system it is not occuring. I've given the following line in my web.config:

location allowOverride="true" inheritInChildApplications="true" path="Telerik.Web.UI.WebResource.axd"

Do we need to install telerik in all the system wherever the testing is done??


Any help would be appreciated
0
Dobromir
Telerik team
answered on 27 Jun 2011, 11:45 AM
Hi Suderson,

Could you please provide more detailed information on the specific scenario?
  • Which version of RadControls for ASP.NET AJAX and .NET Framework are used in the application?
  • Under which browser and its version the problem occurs?
  • Could you please provide the full JavaScript error message that occurs?
  • Could you please provide a sample project reproducing the problem so we can examine and debug it locally?

Looking forward to hearing from you,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Raghu
Top achievements
Rank 1
answered on 12 Jun 2014, 08:42 AM
Hello Admin,
I am getting the exact error in my environment (single front end for integration environment). I am trying to evaluate your product .

Error below (refer the attached screenshot also)

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0E; .NET4.0C)
Timestamp: Thu, 12 Jun 2014 07:47:10 UTC


Message: Invalid argument.
Line: 10260
Char: 4
Code: 0
URI: http://[URL]/ScriptResource.axd?d=yDYtTKtQlPzacJboqHt1eq3xpsxKVmE0_1Juf6L_iNyjJDeUf6cVj5LW7th5e43XroJOt5xdlhnQLkdFeFlfkkAnFmAz9KY2rojfUxyFzISy24wH2F5kUa9bYBi3Zg_jr5mjchfaND11owTMT3VYwhVlkstZYjo8TUIg7sgWlrfhpy_60&t=3ba6438b
0
Ianko
Telerik team
answered on 16 Jun 2014, 06:58 AM

Hi Raghu,

This thread post is two year old and it would be difficult from the  provided information to isolate the problem. Note also that teh product mentioned in the thread is the RadEditor for ASP.NET AJAX, but the one used on your end is the RadEditor WebPart for SharePoint.

I would need more details to start investigating the encountered issue:

  1. What is the used browser and its version, with which the issue is encountered?
  2. What is the version of the used Telerik suite?
  3. Is this reproducible under all browsers?
  4. Is there a specific content insertion that causes the issue?
  5. Are there any custom logic implementations that could affect the RadEditor behavior?

Any further details would be helpful. Also, you can test the RadEditor for SharePoint with this online demo page.

Regards,

Ianko
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
Editor
Asked by
Ekaterina
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Ekaterina
Top achievements
Rank 1
Suderson
Top achievements
Rank 1
Dobromir
Telerik team
Raghu
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or