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

RadAsyncUpload issue with IE7

5 Answers 85 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Abhi
Top achievements
Rank 1
Abhi asked on 26 Mar 2013, 09:22 PM
Test environment:
Telerik.Web.Design version 2011.1.413.35
Platform: Windows Server 2003 SP2, Internet Explorer 7.0 (7.0.5730.13)
Silverlight on client: version 5.1.10411.0

Inside our web application, we're using the RadAsynUpload control to show the red/green color solid dot to indicate success/failure of loading of client file(s). The following javacript has been added to disable flash and use the Silverlight

<script type="text/javascript">

//Disable usage of flash in favor of Silverlight.

Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable =

 

function () { return false; };

</script>


The issue we're having is the control behavior is correct on my local machine (IE 9.0). But in the VM environment (pseudo production) as described earlier, the red dot is displayed even if the client file loaded is a small and not opened anywhere else.
The same file if I try to open in my local machine, the green dot is displayed indicating success.
Here's the additional relevent code snippet:

<telerik:RadAsyncUpload ID="RawFileRadAsyncUpload" runat="server"
                MultipleFileSelection="Automatic" Skin="Windows7" OnClientFileUploadFailed="OnClientFileUploadFailed">
                <Localization Select="Browse..." />
            </telerik:RadAsyncUpload>


Javascript:
 function OnClientFileUploadFailed(sender, args) {
                    document.getElementById('<%=ErrorLabel.ClientID %>').innerHTML = args.get_message();
                    args.set_handled(true);
                }
Please advise, if we're missing anything. Thanks!

5 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Valyavicharski
Telerik team
answered on 27 Mar 2013, 04:17 PM
Hi Abhi,

Your code looks correct. I have created small sample based on the information you provide me and tested it under Internet Explorer 7.0 (7.0.5730.13), but the error you have described does not exist. Please test the attached file on your VM and check if the issue exists. If it doesn't then let me know what I have to change in my sample app in order to get the same behavior as you.

Thanks.

All the best,
Hristo Valyavicharski
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Abhi
Top achievements
Rank 1
answered on 27 Mar 2013, 07:14 PM
Thanks Hristo! We're suspecting issues with the VM environment. Our build engineer is going to refresh the VM environment; after ther refresh I'll give your code and my code a retest. Thanks again!
0
Abhi
Top achievements
Rank 1
answered on 27 Mar 2013, 07:39 PM
It turned out to be persmissions issue. The folder level permissions matter when uploading the file. Something I overlooked during my test...
Thanks!
0
Sam
Top achievements
Rank 1
answered on 13 May 2013, 03:08 PM
I'm assuming this was a general problem, not just with IE. Correct?

I'm having an issue with IE8 (but not other browsers) and am at my wits end.
0
Hristo Valyavicharski
Telerik team
answered on 16 May 2013, 01:07 PM
Hi Sam,

It is not a general problem, it is rather a special case. If you have the latest version of Flash and Silverlight RadAsyncUpload should be able to select upload module correctly. Also it depends on the assemblies and browser versions. Latest versions contain a lot of fixes and probably this issue does not exist.

Kind regards,
Hristo Valyavicharski
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
AsyncUpload
Asked by
Abhi
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Abhi
Top achievements
Rank 1
Sam
Top achievements
Rank 1
Share this question
or