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

[Solved] Error: Sys.ScriptLoadFailedException

5 Answers 204 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
SamVanity
Top achievements
Rank 2
SamVanity asked on 08 Oct 2009, 09:15 PM
I am posting this here again because I noticed that support page showed that it would take 72 hours and I only have 18 days left. This is wrong and I should have 24 hr priority support and still have 35 days (shows in my account).


Support Ticket : 249168

I am running into an error like this when I use 826 - 1007 build. It was working perfectly on 707.

Error: Sys.ScriptLoadFailedException: The script 'http://www.myurl.com/Javascript.ashx?_TSM_HiddenField_=ctl00_SM1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2009.2.920.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a1fefbd7a-6a16-48ea-b50d-cc0ead1945d3%3af7645509%3aaa288e2d' could not be loaded.

Source File: http://www.myurl.com/Javascript.ashx?_TSM_HiddenField_=ctl00_SM1_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
Line: 15

It so far only happens on one page of my app. The page has a tab and a combo box (I don't have other page that have this combo) so I am wondering if this could be it.

the whole operation fails like the following:

1) on a page with 3 tabs, 3 multipages, and combo box on the last multipage. RadGrid on the first multipage

2) everything is wrapped inside RadAjaxManager operation (Ajaxed)

3) so when a button is clicked on a RadGrid item, we switch to either tab 2 or tab 3 depending on which button is clicked (we have 2 buttons per radgrid item)

4) if we switch to tab 2, it works fine, but when we click to switch to tab 3, the error shows.

5 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 14 Oct 2009, 09:25 AM
Hi Sam Van,

Please see if the solution in this forum post will help you.

Regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
SamVanity
Top achievements
Rank 2
answered on 14 Oct 2009, 06:20 PM
No, the problem is not related. It works in 707, but not any later build. I do not have compression module in my software.

What I have is a multipage with RenderSelectedPageOnly="True" and the problem can be solved if I add a RadCombobox to the first pageview. Without a combobox present on the first pv, the combobox on the 3rd pv seems to be causing problems with javascript loading.

I am unable to produce a test project to reproduce the problem, but I am giving you all the clues I have.


0
Genady Sergeev
Telerik team
answered on 23 Oct 2009, 07:25 AM
Hello,

We have already answered to this in a support ticket, I will paste here for community reference. There is a problem when using RadMultiPage and RenderSelectedPageOnly="True". Sometimes the scripts as well as the skins of the controls that are inside the RadMultiPages are not registered, hence not used. This can be fixed the following way:

1) Initially set the RenderSelectedPageOnly to false;
2) Hook on the OnPreRender event
3) Once there, set the RenderSelectedPageOnly to True, example:

Protected Overrides Sub OnPreRender(ByVal e As System.EventArgs)
    MyBase.OnPreRender(e)
    MultiPage1.RenderSelectedPageOnly = True
End Sub


Sincerely yours,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
SamVanity
Top achievements
Rank 2
answered on 23 Oct 2009, 08:04 AM
nope, I replied in the support ticket as well telling you this workaround did not fix the problem.

I haven't had the time to try the new dll you sent me in the ticket though.
0
Genady Sergeev
Telerik team
answered on 29 Oct 2009, 10:34 AM
Hello Sam Van,

The suggested fixes should work in the common case. However, it seems that something different is going wrong on your side. Since we are not able to reproduce the issue, could you please try to isolate the problem into a smaller project that can be run and debugged locally. This will allow us to easily track and fix the problem.

Thank you for your cooperation.

Rergards,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
SamVanity
Top achievements
Rank 2
Answers by
Veselin Vasilev
Telerik team
SamVanity
Top achievements
Rank 2
Genady Sergeev
Telerik team
Share this question
or