This is a migrated thread and some comments may be shown as answers.

Progress does not show

9 Answers 214 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 2
Michael asked on 19 Nov 2008, 08:56 PM
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.

9 Answers, 1 is accepted

Sort by
0
Chase Florell
Top achievements
Rank 1
answered on 20 Nov 2008, 12:05 AM

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> 
 
 
 
0
Chase Florell
Top achievements
Rank 1
answered on 20 Nov 2008, 12:16 AM
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" /> 
 
 
0
Michael
Top achievements
Rank 2
answered on 20 Nov 2008, 12:19 AM
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.
0
Blaize
Top achievements
Rank 1
answered on 20 Nov 2008, 10:14 AM
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
0
Michael Dunbar
Top achievements
Rank 2
answered on 21 Nov 2008, 03:44 PM
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.
0
Erjan Gavalji
Telerik team
answered on 24 Nov 2008, 10:03 AM
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.
0
Michael Dunbar
Top achievements
Rank 2
answered on 25 Nov 2008, 12:13 PM
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.
0
DGDev
Top achievements
Rank 2
answered on 19 Mar 2009, 05:36 AM
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.
0
Veselin Vasilev
Telerik team
answered on 19 Mar 2009, 01:26 PM
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.
Tags
Upload (Obsolete)
Asked by
Michael
Top achievements
Rank 2
Answers by
Chase Florell
Top achievements
Rank 1
Michael
Top achievements
Rank 2
Blaize
Top achievements
Rank 1
Michael Dunbar
Top achievements
Rank 2
Erjan Gavalji
Telerik team
DGDev
Top achievements
Rank 2
Veselin Vasilev
Telerik team
Share this question
or