Ajax uploader - Cancel All button

Last post 07-27-2011, 8:47 PM by Jeff. 1 replies.
Sort Posts: Previous Next
  •  07-27-2011, 1:58 PM 68924

    Ajax uploader - Cancel All button

    two simple questions.
     
    1.  How do I hide the cancel all button?
     
    2. How do I apply a specific css style to the cancel all button?
     
    I've played around with trying to do the above two tasks without success.  The only success, I got was to write CSS for the button element as follows:
     
    button
    {
    /* my own css goes here */ 
    }
     
    This worked fine for the cancel all button, however, since the style is against the button element all buttons on the page would pick up that same css style (unless I explicitly set those to a different CSS class.  Is there way to do the above tasks without writing css styles against the button element?
     
    Thank you. 
    Filed under:
  •  07-27-2011, 8:47 PM 68934 in reply to 68924

    Re: Ajax uploader - Cancel All button

    Hi mchamo,
     
    For your questions,
     
    1.  Set a large number value to NumFilesShowCancelAll attribute, such as
    1. <CuteWebUI:Uploader runat="server" ID="Uploader1" InsertText="Upload Multiple files Now"  
    2.    MultipleFilesUpload="true" OnFileUploaded="Uploader_FileUploaded" NumFilesShowCancelAll="999">  
    3. </CuteWebUI:Uploader>  
     
     
     
    2.  The class name of cancel all button is AjaxUploaderCancelAllButton , try the following css code
    1. .AjaxUploaderCancelAllButton{ background:Yellow; color:Blue; border:solid 1px Red;}   
     
    Regards,
    Jeff 
View as RSS news feed in XML