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

RadAsyncUpload does not Load files with longer FileName

1 Answer 121 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
July
Top achievements
Rank 2
July asked on 08 Aug 2013, 02:49 PM
I've some files with long filename.
RadAsyncUpload does not load when fileName is grather than 158 characters.
Where I can change this?

this is my code
<body>
    <form id="form1" runat="server">
    <div>  <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true"  LoadScriptsBeforeUI="true"
                                  EnablePartialRendering="true" />
   <telerik:RadAsyncUpload id="RadAsyncUpload1" runat="server" OnFileUploaded="RadAsyncUpload1_FileUploaded1" />
<asp:Button runat="server" ID="Button1" Text="Submit" OnClick="Button1_Click" />
    </div>
    </form>
</body>
</html>

I attach an image where show extended filename does not load it.

regards

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 09 Aug 2013, 07:53 AM
Hi July,

Such an issue can happen when you try to upload files with lengthy file names using the File Api Upload module. As a temporary solution, try the following JavaScript.

JavaScript:
<script type="text/javascript">
    Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable = function () { return false; }
</script>

Thanks,
Princy.
Tags
Upload (Obsolete)
Asked by
July
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Share this question
or