Async Upload resets or stops handling large files

5 posts, 0 answers
  1. Shane
    Shane avatar
    7 posts
    Member since:
    Sep 2008

    Posted 23 Mar 2011 Link to this post

    I have an issue where asyncupload simply resets or stops during large uploads.

    I have a test harness here.

    I have successfully uploaded a 18MB file but nothing over this.  The execution timeout is 3600 and the maxRequestLength is large.

    http://regrowth2010.c6.ixwebhosting.com/

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>
      
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      
    <head runat="server">
        <title></title>
        <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
         <style type="text/css">
        div.RadUpload .ruFakeInput
        {
            visibility: hidden;
            width: 0;
            padding: 0;
        }
        div.RadUpload .ruFileInput
        {
            width: 1;
        }
         </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <%--Needed for JavaScript IntelliSense in VS2010--%>
                <%--For VS2008 replace RadScriptManager with ScriptManager--%>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
        <script type="text/javascript">
            var Nbre = 0;
            function getRadWindow() {
                var oWindow = null;
                if (window.radWindow) oWindow = window.radWindow;
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
                return oWindow;
            }
            function CloseWindow() {
                var wnd = getRadWindow();
                var openerPage = wnd.BrowserWindow;
                openerPage.Importer_Callback();
                wnd.close();
            }
            function validateRadUpload1(source, arguments) {
                arguments.IsValid = $find('RadUpload1').validateExtensions();
            }
      
            function validateFailed(source, arguments) {
      
            }
      
            function fileSelected(source, arguments){
      
            }
      
            function fileUploaded(sender, args) {
                document.forms[0].btnSubmit.style.display= 'inline';
            
      
        </script>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        </telerik:RadAjaxManager>
       
        <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Vista">
        </telerik:RadSkinManager>
              
        <telerik:RadProgressManager runat="server" ID="RadProgressManager1" /> 
            <div>
              <table>
                <tr>
                    <td>Firstname:</td>
                    <td>
                        <asp:TextBox ID="tbFirstName" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>Surname:</td>
                    <td>
                        <asp:TextBox ID="tbSurname" runat="server"></asp:TextBox></td>
                </tr>  
                <tr>
                    <td>Act/DJ Name:</td>
                    <td>
                        <asp:TextBox ID="tbActName" runat="server"></asp:TextBox></td>
                </tr>          
              </table>
                
              <telerik:RadAsyncUpload runat="server" Localization-Select="Upload" ID="AsyncUpload1" MaxFileSize="300000000" OnClientFileUploaded="fileUploaded" ReadOnlyFileInputs="true" InitialFileInputsCount="1" MaxFileInputsCount="1" ControlObjectsVisibility="None" OnClientFileSelected="fileSelected" OnClientValidationFailed="validateFailed" /> 
                
            </div>
            <div><telerik:RadProgressArea runat="server" ID="RadProgressArea1" ProgressIndicators="TotalProgressBar,TotalProgressPercent,RequestSize,TimeElapsed,TimeEstimated,CurrentFileName,TotalProgress"  /></div
                  
            <asp:Button ID="btnSubmit" runat="server" Text="Submit Demo" style="display:none" OnClick="buttonSubmit_Click"/>
        </form>
    </body>
    </html>
  2. Shane
    Shane avatar
    7 posts
    Member since:
    Sep 2008

    Posted 23 Mar 2011 Link to this post

    Have installed the code on a different hosting service and the behavior seems to change.  The progress bar does not display with large files?

    http://sandbox.net.134.gppnetwork.com/
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 24 Mar 2011 Link to this post

    Hi Shane,

    Could you give us some instructions on how to find where is RadAsyncUpload located in the live url.

    Best wishes,
    Genady Sergeev
    the Telerik team
  5. Michael
    Michael avatar
    5 posts
    Member since:
    Oct 2012

    Posted 02 Oct 2012 Link to this post

    Was this ever solved I have the same issue.
  6. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 05 Oct 2012 Link to this post

    Hello Michael,

    We were not able to replicate locally the issue that Shane encountered. However, to be able to help you out I would suggest that you provide a live url or open a support ticket and send us a very simplified runnable project so we can inspect it thoroughly.

    Kind regards,
    Kate
    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