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.

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <head runat="server">
        <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
         <style type="text/css">
        div.RadUpload .ruFakeInput
            visibility: hidden;
            width: 0;
            padding: 0;
        div.RadUpload .ruFileInput
            width: 1;
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                <%--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" />
        <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;
            function validateRadUpload1(source, arguments) {
                arguments.IsValid = $find('RadUpload1').validateExtensions();
            function validateFailed(source, arguments) {
            function fileSelected(source, arguments){
            function fileUploaded(sender, args) {
                document.forms[0] 'inline';
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Vista">
        <telerik:RadProgressManager runat="server" ID="RadProgressManager1" /> 
                        <asp:TextBox ID="tbFirstName" runat="server"></asp:TextBox></td>
                        <asp:TextBox ID="tbSurname" runat="server"></asp:TextBox></td>
                    <td>Act/DJ Name:</td>
                        <asp:TextBox ID="tbActName" runat="server"></asp:TextBox></td>
              <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><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"/>
  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?
  3. Genady Sergeev
    Genady Sergeev avatar
    1600 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
  4. 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.
  5. Kate
    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,
    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