Hi,
I have fully ajaxified app, inside 1 dynamically loaded user control I have async upload:
Above I have:
Once I upload file, polling starts and contunies (I can see in Fiddler constant requests to /Telerik.RadUploadProgressHandler.ashx
When I upload another file, polling speed increases, I believe it's because getRadProgressManager().startProgressPolling(); is called again, another file upload - again, speed of polling increases.
ProgressManager and ProgressArea are in masterpage and are outside of any update panels:
Question is:how to stop it from polling, I would like to start/stop polling manually (this will also solve poll speed increase issue, I think)?
P.S.: getRadProgressManager().hideProgressAreas(); is commented out cause progress area automatically disappears when upload has completed. Also when I load another user control polling speed drops to initial speed (first file upload case)
Thanks!
I have fully ajaxified app, inside 1 dynamically loaded user control I have async upload:
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUploadElementAttachments" MultipleFileSelection="Automatic"<BR> MaxFileInputsCount="5" MaxFileSize="31457280" InputSize="50" Width="100%" OnFileUploaded="RadAsyncUploadElementAttachments_FileUploaded"<BR> OnClientFilesUploaded="onClientFilesUploaded" OnClientFileUploading="onClientFileUploading" TemporaryFolder="" ></telerik:RadAsyncUpload>Above I have:
<script type="text/javascript"> function onClientFileUploading() { getRadProgressManager().startProgressPolling(); } function onClientFilesUploaded() { //getRadProgressManager().hideProgressAreas(); } Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; } </script>Once I upload file, polling starts and contunies (I can see in Fiddler constant requests to /Telerik.RadUploadProgressHandler.ashx
When I upload another file, polling speed increases, I believe it's because getRadProgressManager().startProgressPolling(); is called again, another file upload - again, speed of polling increases.
ProgressManager and ProgressArea are in masterpage and are outside of any update panels:
<telerik:RadProgressManager ID="Radprogressmanager1" runat="server" RegisterForSubmit="false" /> <telerik:RadProgressArea ID="progressArea1" runat="server" Culture="(Default)" Height="200px" Skin="Default" Width="400px" style="position: absolute !important; top: 300px !important; left: 280px !important; z-index:10100 !important;" />Question is:how to stop it from polling, I would like to start/stop polling manually (this will also solve poll speed increase issue, I think)?
P.S.: getRadProgressManager().hideProgressAreas(); is commented out cause progress area automatically disappears when upload has completed. Also when I load another user control polling speed drops to initial speed (first file upload case)
Thanks!