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

RadAsyncUpload JScript error

8 Answers 124 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jeff Kershner
Top achievements
Rank 1
Jeff Kershner asked on 06 Aug 2010, 09:34 PM
I am using VS2010, RadControls for ASP.NET AJAX Q2 2010 with ASP.NET 4.0.

I have the following on my page:
<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" OnClientFileSelected="onFileSelected" OnClientFileUploaded="onFileUploaded" ReadOnlyFileInputs="true">
</telerik:RadAsyncUpload>

When I load my page, I get an error in IE8 in this function:
 
function
__flash__addCallback(instance, name) {
instance[name] = 
 
function () { return eval(instance.CallFunction("<invoke name=\""+name+"\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>"));
}
}

The Call Function is is try to load is this:
<invoke name="setFileFilters" returntype="javascript"><arguments><array></array><false/></arguments></invoke>

I have tried using the latest internal builds as well as this version and it is the same.

What might be the problem?

8 Answers, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 10 Aug 2010, 01:58 PM
Hi Jeff,

I'm not able to reproduce this issue at our side. Could you please send us a runnable page demonstrating the problem? Thanks

Best wishes,
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
Jeff Kershner
Top achievements
Rank 1
answered on 10 Aug 2010, 05:01 PM
It looks like the problem is when I have a Rad Async Upload control in a Panel with a Ajax Control Toolkit RoundCornersExtender applied to it.

<

 

 

asp:RoundedCornersExtender ID="RoundedCornersExtender1" TargetControlID="AddPanel" runat="server" Radius="4" BorderColor="Black" Corners="All">

 

</

 

 

asp:RoundedCornersExtender>

When I remove the this extender, everything works correctly.

Thanks,
--Jeff

 

0
Yana
Telerik team
answered on 11 Aug 2010, 03:23 PM
Hello Jeff,

Is this panel initially invisible? I'm asking because we have logged similar issue recently.

Best regards,
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
Daniel Gioulakis
Top achievements
Rank 1
answered on 07 Sep 2010, 09:02 PM
We're experiencing this issue as well.  The panel containing the RadAsyncUploader is initially NOT visible.

Our application then breaks throwing the error:

Invalid postback or callback argument. Event validation is enabled using
0
Yana
Telerik team
answered on 08 Sep 2010, 07:53 AM
Hello Daniel,

Could you please download the latest internal build and try with it? Let us know the result.

Best wishes,
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
Dang
Top achievements
Rank 1
answered on 13 Sep 2010, 02:22 AM
I'm getting exactly the same error as the op.

This only started when I upgraded to the latest version. Before it was working fine (version 2010.1.519).

My upload is also initially not visible.

Any updates on what the issue could be?
0
Dang
Top achievements
Rank 1
answered on 13 Sep 2010, 05:21 AM
Just worked out the issue.
New version uses flash which may cause upload to break in IE. 

Disabled the flash and everything is happy again...

RadAsyncUpload.Modules.Flash.isAvailable = function() { return false; };

0
Daniel Gioulakis
Top achievements
Rank 1
answered on 15 Sep 2010, 03:48 PM
Seemed to fix it on our end. Your help is much appreciated. Thanks!
Tags
Upload (Obsolete)
Asked by
Jeff Kershner
Top achievements
Rank 1
Answers by
Yana
Telerik team
Jeff Kershner
Top achievements
Rank 1
Daniel Gioulakis
Top achievements
Rank 1
Dang
Top achievements
Rank 1
Share this question
or