Control not functional in IE8 with flash and silverlight modules disabled.

6 posts, 0 answers
  1. Ian
    Ian avatar
    29 posts
    Member since:
    Jun 2009

    Posted 29 Nov 2011 Link to this post

    Hi - 

    We're using the 2010.3.1317 version of RadAsyncUpload control. We've had to turn off the silverlight and flash modules because they cause problems for our MAC clients. After turning these off though the control no longer works in IE8 ( running IE8 document mode and browser mode). The issue is that when you click the select button of the control the upload dialog does not appear. 

    Any ideas?

    Thanks.
  2. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 01 Dec 2011 Link to this post

    Hi,

    Could you please open a support ticket and send us a sample which demonstrates the issue to examine it locally?
    Otherwise do you experience the same issue at our online examples when silverlight and flash are disabled?


    Kind regards,
    Helen
    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. Spdev
    Spdev avatar
    6 posts
    Member since:
    Sep 2012

    Posted 02 Oct 2013 Link to this post

    Hello,


    When i upload file from IE8 , my file is correctly uploaded but , the file name and extension is not correct in the temp folder.

    Source  : sample.txt
    TempFolder : jsu3cxhz.5gu 



    If i change the extension of my target file i can open it normaly. 

    <telerik:RadAsyncUpload MultipleFileSelection="Disabled" MaxFileInputsCount="2" runat="server" ID="AsyncUpload1" ManualUpload="false"  TemporaryFolder="~/File/UploadedFilesTemp" EnableFileInputSkinning="true" DisablePlugins="true" Skin="Metro" TargetFolder="~/File/UploadedFiles" />


    I tried to disable flash or Silverlight but i have always this bug.

    Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () {
                return false;
            }
      
            Telerik.Web.UI.RadAsyncUpload.Modules.Silverlight.isAvailable = function () {
                return false;
            }



    Why my file is not uploaded correctly when i'm on IE8... ? 

    Could you help me please














  5. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 Oct 2013 Link to this post

    Hi Spdev,

    The TemporaryFolder of RadAsyncUpload will save files temporarily until a postback occurs.The file name in temporary folder will be some fake name that is the default behavior of RadAsyncUpload. The TargetFolder will give the correct file name  of the uploaded file. Please have a look into the following  code that I tried to access the file name from temporary folder after postback occurs.

    C#:
    protected void RadAsyncUpload1_FileUploaded(object sender, Telerik.Web.UI.FileUploadedEventArgs e)
    {
        string targetFolder=RadAsyncUpload1.TemporaryFolder;
        Response.Write(Server.MapPath(targetFolder + "/" + e.File.FileName));
     
    }

    Thanks,
    Shinu.
  6. Alexandre
    Alexandre avatar
    1 posts
    Member since:
    Oct 2012

    Posted 03 Oct 2013 Link to this post

    Hi Shenu

    Thanks a lot for your answer,I tried your proposition, you're right after a postback file is rename with the good name and extension.
     

    But in my case,i cannot do a postback.  The radasyncupload is in radwindow , and that is in UpdatePanel.
    How can i have directly in the temp folder the good file name when i use IE8 (Silverligth) ?

     

     


  7. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 Oct 2013 Link to this post

    Hi Alexandre,

    Please try the following code snippet that I tried to access the Uploaded FileName in Client side.

    ASPX:
    <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" TargetFolder="Uploads"
        OnClientFileUploaded="OnClientFileUploaded1">
    </telerik:RadAsyncUpload>

    JavaScript:
    <script type="text/javascript">
        function OnClientFileUploaded1(sender, args) {
            alert(args.get_fileName());
        }
    </script>

    Thanks,
    Shinu.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017