Custom css on the upload button

Last post 07-31-2012, 9:36 AM by Luuuukke. 2 replies.
Sort Posts: Previous Next
  •  07-30-2012, 11:42 AM 74311

    Custom css on the upload button

    title says all... is it possible to customise the upload button ?
    i do not see a css class on it , nor a way to set one..
     
    thanks ! 
  •  07-31-2012, 8:18 AM 74318 in reply to 74311

    Re: Custom css on the upload button

    Hi Luuukke,
     
    You can use property "InsertButtonID" to special the upload button to your own button, then you just need to change the style of your own button. Please try the example below
     
    1. <%@ Page Language="C#" %>  
    2.   
    3. <%@ Register Namespace="CuteWebUI" TagPrefix="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5. <html xmlns="http://www.w3.org/1999/xhtml">  
    6. <head id="Head1" runat="server">  
    7.     <title>example</title>  
    8. </head>  
    9.   
    10. <body>  
    11.     <form id="form1" runat="server">  
    12.         <CuteWebUI:UploadAttachments ID="uploader1" runat="server" InsertButtonID="button1">  
    13.         </CuteWebUI:UploadAttachments>  
    14.         <asp:Button ID="button1" runat="server" Text="my upload" />  
    15.     </form>  
    16. </body>  
    17. </html>  
    Regards,
     
    Ken 
  •  07-31-2012, 9:36 AM 74322 in reply to 74318

    Re: Custom css on the upload button

    Thanks a lot !
     
    found it later in the help after posting :( 
View as RSS news feed in XML