RadAsyncUpload issue with IE7

6 posts, 1 answers
  1. Abhi
    Abhi avatar
    3 posts
    Member since:
    Mar 2013

    Posted 26 Mar 2013 Link to this post

    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!

  2. Answer
    Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 27 Mar 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Abhi
    Abhi avatar
    3 posts
    Member since:
    Mar 2013

    Posted 27 Mar 2013 Link to this post

    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!
  5. Abhi
    Abhi avatar
    3 posts
    Member since:
    Mar 2013

    Posted 27 Mar 2013 Link to this post

    It turned out to be persmissions issue. The folder level permissions matter when uploading the file. Something I overlooked during my test...
    Thanks!
  6. Sam
    Sam avatar
    23 posts
    Member since:
    Oct 2011

    Posted 13 May 2013 Link to this post

    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.
  7. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 16 May 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017