Progress does not show

Thread is closed for posting
10 posts, 0 answers
  1. Michael
    Michael avatar
    58 posts
    Member since:
    Jan 2008

    Posted 19 Nov 2008 Link to this post

    Hey guys,

    A couple of months back I tried out your upload control.  I was excited to get a progress indicator up and running on my site.  I recall at that time I could not get it to work properly, i.e the progress display was not showing.

    Fast forward to today and I was ready to give it another shot.  Unfortunately it is still not working for me.  I have followed step-by-step instructions and re-read demos/articles several times. 

    Here's the article: http://www.telerik.com/help/aspnet-ajax/upload_gettingstarted.html

    I've checked over my web.config file and it matches exactly as stated here: http://www.telerik.com/help/aspnet-ajax/upload_configurationraduploadhttpmodule.html

    My final attempt to uncover the issue, involved running the demo that works for me on your site, locally.  This is the demo that I ran: http://localhost:2278/Live%20Demos/Upload/Examples/CustomizingRadProgressAreaUI/DefaultVB.aspx?RadUrid=5a2e51b7-8bb8-4b7d-836e-81df6a26109f

    When I run that from your site, remotely, it works great.  However, on my machine, I do not get the progress bar.  Doing this enabled me to rule out a problem with my code and now it seems that there is some machine configuration issue going on here?

    I'm using the following:
    -Windows Vista Home Premium 64bit
    -Visual Studio 2008 Pro
    -Built in Visual Studio Web Server, NOT IIS

    I have tried uploading large files + putting the thread to sleep for a few seconds.  Nothing works for me.  I'd really like to give this control another go and get her up and running properly.  Please help, thank you.
  2. Chase Florell
    Chase Florell avatar
    257 posts
    Member since:
    Apr 2005

    Posted 19 Nov 2008 Link to this post

    I was just searching on this exact same issue and your thread is at the top.  I cannot seem to get the upload to work either.... here is a snippet of my code.

    page.ascx

     
                    <telerik:RadProgressManager ID="RadProgressManager1" runat="server" Skin="Telerik" /> 
                    <telerik:RadUpload ID="RadUpload1"   
                                       runat="server"   
                                       Skin="Default2006"   
                                       TargetFolder="~/App_Data/ValuePro"   
                                       AllowedFileExtensions=".xml,.xls"   
                                       Width="400">  
                                       <Localization Select="Browse..." Add="Add Another" Delete="Remove Selected"   /> 
                                       </telerik:RadUpload> 
                    <telerik:RadProgressArea ID="RadProgressArea1" runat="server" Skin="Telerik" /> 
     
    web.config
     
     
                <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI, Version=2008.2.1001.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> 
            </httpHandlers> 
     
     
     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Chase Florell
    Chase Florell avatar
    257 posts
    Member since:
    Apr 2005

    Posted 19 Nov 2008 Link to this post

    Oops, my bad.  Looks like you have to add the Module as well, and it MUST be the first module in your httpModules area

     
            <httpModules> 
                <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
     
     
  5. Michael
    Michael avatar
    58 posts
    Member since:
    Jan 2008

    Posted 19 Nov 2008 Link to this post

    Ah, that's good for you.  Lucky guy.

    I just looked at my web.config and it IS the first.  And just to reiterate a point - I ran the Telerik demo locally and didn't see the progress bar either.  That's why I think there's something funky going on here.
  6. Blaize
    Blaize avatar
    88 posts
    Member since:
    Oct 2006

    Posted 20 Nov 2008 Link to this post

    Hey Michael,

    is it the too-small-file-on-localhost problem? I read somewhere in these forums about a speed limitation tool. It helped me simulate a slow connection and I had the progress area appearing, but I just can't find the URL now...

    The other mistake I had was using IIS7, but having the handler/module registered in the incorrect web.config section - once I registered them to both the sections, I don't have the problem in any configuration now :)

    Cheers,
    Blaize
  7. Michael Dunbar
    Michael Dunbar avatar
    129 posts
    Member since:
    Sep 2007

    Posted 21 Nov 2008 Link to this post

    I have the same issue. Tried using large files, slowing the connection speed down but there is no sign of a progress bar. I followed the getting started instructions to a T as well.

    I'm using Q2 2008 tools and IIS 7.
  8. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 24 Nov 2008 Link to this post

    Hi Michael,

    Here is the portion of a typical web.config file to have RadUpload progress monitoring in both IIS7 Integrated and Classic modes:

    <system.web>
        ...
        <httpHandlers>
            ...
            <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" validate="false" />
            ...
        </httpHandlers>
        ...
        <httpModules>
        ...
          <add name="RadUploadHttpModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
          ...
        </httpModules>
        ...
    </system.web>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules>
            ...
            <add name="RadUploadHttpModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
            ...
        </modules>
        <handlers>
            ...
            <add name="Telerik_RadUploadProgressHandler" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" />
            ...
        </handlers>
    </system.webServer>


    Can you compare it with yours?

    Can you also download the latest version (Q3 2008) and give it a try?

    Best regards,
    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  9. Michael Dunbar
    Michael Dunbar avatar
    129 posts
    Member since:
    Sep 2007

    Posted 25 Nov 2008 Link to this post

    I'm reluctant to install the new version of the tools at this stage as I am mid-project. Was there a known issue with the progress control in the version I am using?

    I have started again with the web config using what you have posted. I can't see any difference initially but I am working locally so will need to test remotely. I'll let you know if it works.
  10. DGDev
    DGDev avatar
    42 posts
    Member since:
    Jul 2012

    Posted 19 Mar 2009 Link to this post

    Hi there Erjan,
    Thank you for your post.
    I wanted to note that your information provided here is different than what is being listed in the "Getting Started" help doc:
    http://www.telerik.com/help/aspnet-ajax/upload_gettingstarted.html

    I was not able to view the Progress Area with:
    <modules>
         
    <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler"/>
     
    </modules>
     
    <handlers>
         
    <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0"/>
     
    </handlers>

    Just wanted Telerik to be aware of the mismatch.
  11. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 19 Mar 2009 Link to this post

    Hello Daniel,

    Thank you for pointing this out.

    We have corrected the article and it will be available online next week.

    You can find your Telerik Points updated

    Kind regards,
    Veselin Vasilev
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017