Multiple RadAsyncupload and RadProgressArea

14 posts, 0 answers
  1. Lighthouse Developer
    Lighthouse Developer avatar
    34 posts
    Member since:
    Feb 2010

    Posted 17 Aug 2010 Link to this post

    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
  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 20 Aug 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sunil
    Sunil avatar
    6 posts
    Member since:
    Jul 2012

    Posted 26 Jul 2012 Link to this post

    Two AsyncUpload on one page  how to hanle the methods.can someone help me to give the demo with the http handler
  5. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 31 Jul 2012 Link to this post

    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.
  6. Sunil
    Sunil avatar
    6 posts
    Member since:
    Jul 2012

    Posted 31 Jul 2012 Link to this post

    thanks

    Can some one help me how to enableinlineprogress propert of radasynupload control set in javascript as visible true.
  7. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 03 Aug 2012 Link to this post

    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.
  8. Sunil
    Sunil avatar
    6 posts
    Member since:
    Jul 2012

    Posted 06 Aug 2012 Link to this post

    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
  9. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 09 Aug 2012 Link to this post

    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.
  10. Sunil
    Sunil avatar
    6 posts
    Member since:
    Jul 2012

    Posted 10 Aug 2012 Link to this post

    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
  11. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 14 Aug 2012 Link to this post

    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.
  12. Sunil
    Sunil avatar
    6 posts
    Member since:
    Jul 2012

    Posted 16 Aug 2012 Link to this post

    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

  13. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 17 Aug 2012 Link to this post

    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.
  14. Sunil
    Sunil avatar
    6 posts
    Member since:
    Jul 2012

    Posted 22 Aug 2012 Link to this post

    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....
  15. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 27 Aug 2012 Link to this post

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