RadAsyncUpload does not Load files with longer FileName

Thread is closed for posting
2 posts, 0 answers
  1. July
    July avatar
    205 posts
    Member since:
    Jul 2011

    Posted 08 Aug 2013 Link to this post

    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
        <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" />

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

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 09 Aug 2013 Link to this post

    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.

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

Back to Top