Progress Area does not run

Thread is closed for posting
2 posts, 0 answers
  1. Clive Hoggar
    Clive Hoggar avatar
    348 posts
    Member since:
    Nov 2008

    Posted 12 Dec 2012 Link to this post


    It seems every time I try to use the RadUpload controls I spend a long time getting it to run correctly, so this time I thought I would go by the book.  (as in 'Getting Started' section of RadUpload online help) but on the live server  (windows 2008 server / iis with 4.0 on this website) the progress area does not fire, even with files that take several seconds to upload. It works on the localhost but I had to use 24 Meg file to see it.

    I used the smart tag in the RadProgress manager to register the RadUploadProgressArea and RadUploadModule.

    Where to check now?

    I have this code:

    <telerik:RadProgressManager ID="RadProgressManager1" Runat="server" />
        <telerik:RadUpload ID="RadUpload1" runat="server" AllowedFileExtensions=".doc,.docx,.pdf" ControlObjectsVisibility="RemoveButtons, ClearButtons, AddButton" MaxFileInputsCount="3" MaxFileSize="1100000" OverwriteExistingFiles="True" Skin="WebBlue" TargetFolder="~/members/docs" InputSize="35"></telerik:RadUpload>
         <asp:CustomValidator runat="server" ID="CustomValidator1" Display="Dynamic" ClientValidationFunction="validateRadUpload1"
        <span style="color:red; font-weight:bold;"><br />Invalid file: too large or not of type .doc , .docx or .pdf</span>.
        <asp:Button ID="Button1" runat="server" Text="SUBMIT" />
    <script type="text/javascript">
            function validateRadUpload1(source, arguments) {
                arguments.IsValid = $find("<%= RadUpload1.ClientID %>").validateExtensions();
        <telerik:RadProgressArea ID="RadProgressArea1" Runat="server" DisplayCancelButton="True" ProgressIndicators="TotalProgressBar, TotalProgress, RequestSize, FilesCountBar, FilesCount, SelectedFilesCount, CurrentFileName, TimeElapsed, TimeEstimated, TransferSpeed" Skin="WebBlue" Culture="en-GB">
    Protected Sub CustomValidator1_ServerValidate(source As Object, e As System.Web.UI.WebControls.ServerValidateEventArgs) Handles CustomValidator1.ServerValidate
            e.IsValid = (RadUpload1.InvalidFiles.Count = 0)
    End Sub
           <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
           <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
           <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
           <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />

        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
          <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule" />
          <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
          <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
          <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" />
          <remove statusCode="404" subStatusCode="-1" />
          <error statusCode="404" prefixLanguageFilePath="" path="/error404.aspx" responseMode="ExecuteURL" />


  2. Plamen
    Plamen avatar
    2925 posts

    Posted 17 Dec 2012 Link to this post

    Hello Clive,

    i am attaching a sample project there the Progress Area is working properly at our side. You can also review the known limitations of this control in case your case is described there as well.

    Hope this will be helpful.

    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