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

Multiple RadAsyncupload and RadProgressArea

13 Answers 323 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Lighthouse Developer
Top achievements
Rank 1
Lighthouse Developer asked on 17 Aug 2010, 11:45 AM
Hi,
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

Sort by
0
Genady Sergeev
Telerik team
answered on 20 Aug 2010, 10:14 AM
Hello Lighthouse Developer,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Sunil
Top achievements
Rank 1
answered on 26 Jul 2012, 02:03 PM
Two AsyncUpload on one page  how to hanle the methods.can someone help me to give the demo with the http handler
0
Peter Filipov
Telerik team
answered on 31 Jul 2012, 11:06 AM
Hello Sunil,

Please review the following demo.

Regards,
Peter Filipov
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.
0
Sunil
Top achievements
Rank 1
answered on 31 Jul 2012, 05:24 PM
thanks

Can some one help me how to enableinlineprogress propert of radasynupload control set in javascript as visible true.
0
Peter Filipov
Telerik team
answered on 03 Aug 2012, 08:06 AM
Hello Sunil,

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
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.
0
Sunil
Top achievements
Rank 1
answered on 06 Aug 2012, 01:46 PM
Hi thanks for quick reply

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
0
Peter Filipov
Telerik team
answered on 09 Aug 2012, 12:01 PM
Hello Sunil,

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
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.
0
Sunil
Top achievements
Rank 1
answered on 10 Aug 2012, 06:11 AM
Hi
 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
0
Peter Filipov
Telerik team
answered on 14 Aug 2012, 10:50 AM
Hello Sunil,

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
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.
0
Sunil
Top achievements
Rank 1
answered on 16 Aug 2012, 07:01 AM
Hi Peter
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

0
Peter Filipov
Telerik team
answered on 17 Aug 2012, 12:03 PM
Hello Sunil,

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
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.
0
Sunil
Top achievements
Rank 1
answered on 22 Aug 2012, 01:01 PM
Thanks peter

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....
0
Peter Filipov
Telerik team
answered on 27 Aug 2012, 07:08 AM
Hello Sunil,

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
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
AsyncUpload
Asked by
Lighthouse Developer
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Sunil
Top achievements
Rank 1
Peter Filipov
Telerik team
Share this question
or