Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
WebUpload remove the upload summary
posted

Hi

 

I was looking into ways of removing the summary that the WebUpload control provides.

I need to remove the ""Size progres bar", "x of x files uploaded" and "Done" button

I looked into the properties of the control and coudnt find any obvious ones.

 

Thanks

 

Parents
No Data
Reply
  • 1800
    posted

    Hi ateece,

    If you want to hide only summary progress bar(its content) and button I can propose you a workaround. You are right there is no such option. So my advice is for instance to attach to event fileSelected and to hide only this div you want. I said "div" because summary progress bar and button are grouped in one div. So here is a sample.

     

     

    if

     

     

    (isHidden) {

     

     

     

    var $summProgressBarContainer = $('#{uploader}_spbcntr');

    $summProgressBarContainer.find(

     

    'div:nth-child(2)').hide();

    }

    Where {uploader} is the id of the DOM element which you have instantiated igUpload. You should replace {uploader} with the id of your igUpload.

    If you want to remove the whole part including information how many files should be uploaded and how much are uploaded you cna hide directly the whole element - $summProgressBarContainer.hide();

    Thanks,

    Miro Hristov

Children
No Data