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

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

5 Answers 87 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 29 Nov 2011, 08:40 PM
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.

5 Answers, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 01 Dec 2011, 10:52 AM
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
0
Spdev
Top achievements
Rank 1
answered on 02 Oct 2013, 01:28 PM
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














0
Shinu
Top achievements
Rank 2
answered on 03 Oct 2013, 06:39 AM
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.
0
Alexandre
Top achievements
Rank 1
answered on 03 Oct 2013, 09:09 AM
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) ?

 

 


0
Shinu
Top achievements
Rank 2
answered on 04 Oct 2013, 03:34 AM
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.
Tags
AsyncUpload
Asked by
Ian
Top achievements
Rank 1
Answers by
Helen
Telerik team
Spdev
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Alexandre
Top achievements
Rank 1
Share this question
or