Ajax always calling RadUpload which one is in Repeater

Thread is closed for posting
2 posts, 0 answers
  1. Gökhan
    Gökhan avatar
    11 posts
    Member since:
    Jun 2011

    Posted 29 Nov 2011 Link to this post

    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..
  2. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 30 Nov 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top