
I have multiple radAsyncUpload controls in one page with radprogressarea control for each of them.I have also one radprogressmanager.
When a radAsyncUploadControl is uploading a file to the temporary folder then all the radprogressarea controls are displayed.
How I can limit that so when a file is uploaded only the relevant radprogressarea is displayed?
Thank you
13 Answers, 1 is accepted
Unfortunately this is a limitation of RadProgressArea. There can be only one RadProgressArea on a given page and it will monitor the progress of all upload controls that are on that page. I mean that the area is not capable of individually monitoring given upload, it will monitor all of the uploads. We are well aware of this limitation and are working on fixing it. Please excuse us for the inconvenience.
Regards,
Genady Sergeev
the Telerik team


Can some one help me how to enableinlineprogress propert of radasynupload control set in javascript as visible true.
You could use the following javascript to disable/enable the inline progress:
var
async = $find(
"RadAsyncUpload1"
);
//disable the inline progress
async._enableInlineProgress =
false
;
//enable the inline progress
async._enableInlineProgress =
true
;
All the best,
Peter Filipov
the Telerik team

But it shows me static image after i set false the property on fileselected. please see the image.
My requirement is show this progress bar when the button clicked for import the file
Could you clarify what do you mean by "show this progress bar when the button clicked for import the file". The mentioned screenshot in your last post will be helpful too.
Greetings,
Peter Filipov
the Telerik team

when i set this property as following
async._enableInlineProgress =
false
;
then the progress bar not show the progress of file but it is showing the image.
I dont want to show this image untill the button on this page clicked
on button click i set this property true.its work.
but my need to false the progress bar and the progrees image untill i click on button.
Please reply soon
I was able to reproduce the issue could you try to set the _enableInlineProgress property in different event handler - OnClientFilesSelected (not in OnClientFileSelected).
Regards,
Peter Filipov
the Telerik team

thanks for reply
i have following code
<
telerik:RadAsyncUpload runat="server" CssClass="ruBrowse" ID="flupForecast" ControlObjectsVisibility="None"
InitialFileInputsCount="1" OnClientFileUploaded="OnClientFileUploaded"
MaxFileInputsCount="1" MultipleFileSelection="Disabled" HttpHandlerUrl="~/Forecasts/CustomHandler.ashx"
OnClientFileSelected="OnClientFileSelected" OnClientFileUploading="OnClientFileUploading"
OnClientFileUploadFailed="OnClientFileUploadFailed" OnClientFileUploadRemoved="OnClientFileUploadRemoved" OnClientFilesSelected="OnClientFilesSelected">
<Localization Cancel="Select different file" />
<Localization Remove="Select different file" />
<Localization Select="Select file" />
</telerik:RadAsyncUpload>
and the javascript function is following
function OnClientFilesSelected(radUpload, eventArgs) {
var async = $find("<%= flupForecast.ClientID %>");
//disable the inline progress
async._enableInlineProgress =
false;
}
But this method is not calling.And still i am having problem which was previously about static image
Can you please look in to this
It seems when the local connection is really fast I could not get the same result in the RadAsyncUpload appearance. I slowed down the upload speed and reproduced the issue. The fix is really easy. You need to invoke the javascript code in the pageLoad function. I prepared a sample project for you. Please review the attachment.
Regards,
Peter Filipov
the Telerik team

i am now able to visible false of static image.
but when i am trying to visible that then it is not visible.
i am using following code on button onclient click
function
ImportClick() {
debugger;
var async = $find("<%= flupForecast.ClientID %>");
//disable the inline progress
async._enableInlineProgress =
true;
}
please help me....
I prepared a sample project for you. I am using CSS to show/hide the progress area. It seems that in your case is not appropriate to use the client API.
Regards,
Peter Filipov
the Telerik team