Re: How do i Hide the multiple upload button and cancel/cancel all

  •  03-10-2009, 8:36 AM

    Re: How do i Hide the multiple upload button and cancel/cancel all

    Hi,
     
     
    Here is a sample :
     
     
     

    <%@ Page Language="C#" %>

    <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
     <title>Sample</title>
     <style>
     .CssCancelButton
     {
      display:none!important;
     }
     </style>
     <script type="text/javascript">
     function CuteWebUI_AjaxUploader_OnStart()
     {
      this.internalobject.insertBtn.style.display="none";
     }
     function CuteWebUI_AjaxUploader_OnStop()
     {
      this.internalobject.insertBtn.style.display="";
     }
     function CuteWebUI_AjaxUploader_OnPostback()
     {
      this.internalobject.insertBtn.style.display="";
     }
     </script>
    </head>
    <body>
     <form id="form1" runat="server">
      <div>
       <CuteWebUI:UploadAttachments runat="server" ID="UploadAttachments1" CancelButtonID="CancelButton"
        NumFilesShowCancelAll="1000" />
       <asp:Button runat="server" ID="CancelButton" CssClass="CssCancelButton" Text="Cancel" />
      </div>
     </form>
    </body>
    </html>

     
     
     
    Regards,
    Terry
     
     
View Complete Thread