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

Ajax always calling RadUpload which one is in Repeater

1 Answer 46 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Gökhan
Top achievements
Rank 1
Gökhan asked on 29 Nov 2011, 03:55 PM
Hi, I have a repeater which is in other parent repeater. And I'm using RadUpload control. I'm getting these following requests from page when I click Upload Button. It always calling RadUploadProgressHandles.ashx page. I'm using Chrome. And following messages copied from Chrome developer tools.
XHR finished loading: "http://localhost:2755/wwwroot/Telerik.RadUploadProgressHandler.ashx?RadUrid=fceaecf0-7245-41b9-845c-06c698daa073&RadUploadTimeStamp=1322577510953&".
My Codes:
<asp:Repeater ID="rptrTaskGroup" runat="server" onitemdatabound="rptrTaskGroup_ItemDataBound">
        <ItemTemplate>
            
                <asp:Repeater ID="rptrTasks" runat="server" OnItemDataBound="rptrTasks_ItemDataBound" OnItemCommand="rptrTasks_ITemCommand">
                <ItemTemplate>  
                            <div id='<%# "TaskDocumentUpload"+Eval("IntCode").ToString() %>' style="width:50%; float:left; display:none;">
                                <telerik:RadUpload ID="RadUpload1" runat="server" ControlObjectsVisibility="AddButton" EnableFileInputSkinning="true" InitialFileInputsCount="1" OnClientAdded="addTitle"/>
                             
                                <asp:Button id="btnTaskDocumentUpload" runat="server" CssClass="RadUploadSubmit" CommandName="UploadDocuments" CommandArgument='<%# Eval("IntCode").ToString() %>' text="Yükle" />
                        </div>
 
                </ItemTemplate>       
                </asp:Repeater>    
        </ItemTemplate>      
        </asp:Repeater>
Thanks..

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 30 Nov 2011, 03:08 PM
Hello Gökhan,

Do you have a ProgressManager in your page?

The ProgressManager uses these requests to monitor the uploading of the file, so this is normal behaviour. If the Get requests don't stop after the upload is completed, try the following:

  1. Go to the web.config
  2. Find the appSettings section (it's in the configuration section)
  3. Add the following setting:
<add key="AllowCustomProgress" value="false" />
Kind regards,
Bozhidar
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
Tags
Upload (Obsolete)
Asked by
Gökhan
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or