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

Script Error after upgrade to Q2 dlls

7 Answers 79 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Geoff Ballard
Top achievements
Rank 1
Geoff Ballard asked on 11 Oct 2010, 03:09 PM
Hi,

I have a telerik:RadAsyncUpload in a page.  It worked using the Q1 dll's when I upgraded to Q2 for the multi upload I got a script error.

The error is: "Object doesn't support this property or method"

The error is in a JavaScript resource delivered by Telerik.Web.UI.WebResource.  The header comment is:
/* START Telerik.Web.UI.AsyncUpload.RadAsyncUpload.js */

In line :

w.setFileFilters([],k.get_multipleFileSelectionEnabled()

I'm using the .NET 4 dll's.

Any ideas where I can start looking to solve this?

7 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 14 Oct 2010, 07:21 AM
Hello Geoff,

Could you please send us the definition of RadAsyncUpload and explain exactly how to reproduce the issue? Thanks in advance

Greetings,
Yana
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
Geoff Ballard
Top achievements
Rank 1
answered on 19 Oct 2010, 11:24 AM
Hi,

There's no easy way to provide a full listing as this is used inside a solution with 36 projects.  I've pasted the async markup below.  This is contained inside an updatepanel.  We're using a telerik:RadScriptManager.  I'm using the 2010 Q2 dll's.  How do I determine the exact version I'm using?

If you're unable to replicate this problem is there any particular part of the web.config or something else you'd like to see?  I tried to recreate the problem in a simple project, but multiple file upload worked when I did that.

<telerik:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="false" VisibleStatusbar="false"
    ReloadOnShow="true" runat="server" Skin="Default" EnableShadow="true">
    <Windows>
        <telerik:RadWindow ID="RadWindowUpload" runat="server" Title="Upload Documents" Modal="true"
            Width="550" Height="400" VisibleOnPageLoad="false" Behaviors="Close" Left="580"
            Top="-8" EnableShadow="true">
            <ContentTemplate>
                <telerik:RadProgressManager runat="server" ID="RadProgressManager1" />
                <telerik:RadAsyncUpload ID="RadAsyncUpload1" MultipleFileSelection="Automatic" runat="server">
                </telerik:RadAsyncUpload>
                <telerik:RadProgressArea runat="server" ID="RadProgressArea1">
                </telerik:RadProgressArea>

The solution where the problem exists did originally use the Q1 dll's so I thought it might be an upgrade issue.  As the error occurs inside the Telerik JS file is it possible that the resource handler is returning an out of date JS file?

Thanks,

0
Geoff Ballard
Top achievements
Rank 1
answered on 20 Oct 2010, 12:09 PM
I was using version: 2010.2.826.40
0
Genady Sergeev
Telerik team
answered on 21 Oct 2010, 05:05 PM
Hello Geoff Ballard,

I believe that this is an issue with the flash object not being properly recreated after an async postback. We will research the issue and provide a fix for it in the upcoming Q3 release. Meanwhile, If you manage to isolate the problem it would of a great use to us If you provide us with a sample demonstrating it. As for a possible workaround to this problem, please add the following JavaScript after script manager declaration:

<script type="text/javascript">
   Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function() { return false; }
</script>


Sincerely yours,
Genady Sergeev
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
Geoff Ballard
Top achievements
Rank 1
answered on 22 Oct 2010, 04:33 PM
Hi,

Thanks for the reply; I will give that suggestion a try shortly.  I have managed to recreate this problem in a small project that I'm not authorised to attach to this post so I will create a support ticket and put the zip file there.

Thanks,
0
Gurudath
Top achievements
Rank 1
answered on 18 Feb 2011, 05:15 AM
Hello Telerik,

Do you have any update on this issue? I have ran into same problem and the work around you have suggested is now working for me. Can you please suggest me some other alternative to fix this problem ASAP. Thanks in advance.
0
Genady Sergeev
Telerik team
answered on 23 Feb 2011, 05:31 PM
Hi Gurudath,

The issue is fixed for the latest service pack. Please upgrade.

Regards,
Genady Sergeev
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
AsyncUpload
Asked by
Geoff Ballard
Top achievements
Rank 1
Answers by
Yana
Telerik team
Geoff Ballard
Top achievements
Rank 1
Genady Sergeev
Telerik team
Gurudath
Top achievements
Rank 1
Share this question
or