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

RadProgressManager in TabStrip Pb

3 Answers 80 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
CSurieux
Top achievements
Rank 2
CSurieux asked on 20 Oct 2008, 07:30 AM
Hello,

I am trying to include, as explained in the doc, a RadUploadManager and RadProgress in the last page of a TabStrip used as an expert.
I go from page to page with an ajaxified Next button on each page.
The last page contains a Start button which is not ajaxified, this button start a long process I want to monitor.
I have no Input type=file on the page.
I have already done this previously but withourt using an expert and it was working (but previous telerik versions, now I am on 2.1001).
Each time I press a next button, I receive the famous popup 'RadUpload Ajax callback error: Source url returns invalid content' + my page html content.
Web.config is Ok because radupload is working ok on other pages.
My code:
....
<Telerik:RadPageView ID="RadPageView5" runat="server">
 <div style='width:100%; min-height:400px' >
 <asp:label ID='Label5' runat='server' Text="Summary" /><br />
<Telerik:RadTextBox ID="RadTbSummary" Runat="server" TextMode="MultiLine"  Enabled="false" style='width:100%; min-height:300px' />
<telerik:RadProgressManager id="Radprogressmanager1" Enabled="false" runat="server" />
<telerik:RadProgressArea id="RadProgressArea1" Enabled="false" runat="server" />
<div style="display:block; position:absolute; bottom:5px; left:85%;" >
<asp:ImageButton ID="updateBtn" SkinID="Update_"  runat="server" />
</div>
</div>
</Telerik:RadPageView>
..

Pb is that RadUploadManager seems to be triggered when I try to go from page to page, without anything to upload.
I tried to put enabled=false on the 2 controls, expecting to turn it true on last page but it has no effect ?

Any help welcome.
CS

3 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 20 Oct 2008, 09:32 AM
Hi Christian,

RadUpload for ASP.NET Ajax now monitors not only upload requests, but large text requests too. To my regret we did not realize that this could be undesired in some scenarios. We will have a property to disable that in the official Q3 release of the suite.

I'm not sure of why would you get the request though. Do you have the AjaxUrl property of RadProgressManager set to a value different than the default one? Is it possible that you isolate the scenario in a separate application and send it to us via a formal support ticket?

Looking forward to your reply,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
CSurieux
Top achievements
Rank 2
answered on 20 Oct 2008, 10:23 AM
Hello Erjan,

Thanks for fast answer.
So you told me that RadUploadManager will be activated for each of my Ajax callback and that I have to 'unajaxify' everything if I dont want that RadUploadManager detects an invalid response ?
Do you know if in the Q3 futur/beta build your flag to control this feature has been included ?
To answer your question, no, I have not changed the url.

Why enable=false has no effect on these controls ? Shouldn't it ?

I will try a small projet but I am short in time resource.

Regards
CS
0
Erjan Gavalji
Telerik team
answered on 20 Oct 2008, 11:22 AM
Hi Christian,

No, you don't need to unajaxify the ajaxified controls. Actually everything should work as expected with the difference that you could get the progress appearing even if you don't upload a file, but have a large form data instead.

Can you please, send us the error you get? The exact page content can be retrieved by a browser network trafic monitoring tool like Fiddler (for IE) or Firebug's Net tab (for Firefox). Please, send us the server response to the Telerik.RadUploadProgressHandler.ashx.

I hope we will be able to help solving the problem quickly.

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Upload (Obsolete)
Asked by
CSurieux
Top achievements
Rank 2
Answers by
Erjan Gavalji
Telerik team
CSurieux
Top achievements
Rank 2
Share this question
or