Re: Customize Appearance of Button and Progress Panel

  •  07-08-2014, 9:14 AM

    Re: Customize Appearance of Button and Progress Panel

    Hi,

     

    1. Can you try the example below on your site? Does it work for you? The button added in the page load event programmatically.

     

    1. <%@ Page Language="C#" %>  
    2.   
    3. <%@ Register Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" TagPrefix="CuteWebUI" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5.   
    6. <script runat="server">  
    7.     protected override void OnLoad(EventArgs e)  
    8.     {  
    9.         Button myButton = new Button();  
    10.         myButton.ID = "myUpload";  
    11.         myButton.Text = "custom upload button";  
    12.         panel1.Controls.Add(myButton);  
    13.         base.OnLoad(e);  
    14.     }  
    15. </script>  
    16.   
    17. <html xmlns="http://www.w3.org/1999/xhtml">  
    18. <head id="Head1" runat="server">  
    19.     <title>Untitled Page</title>  
    20. </head>  
    21. <body>  
    22.     <form id="form1" runat="server">  
    23.         <CuteWebUI:Uploader ID="Uploader1" runat="server" InsertButtonID="myUpload">  
    24.         </CuteWebUI:Uploader>  
    25.         <asp:Panel ID="panel1" runat="server"></asp:Panel>  
    26.     </form>  
    27. </body>  
    28. </html>  
     

    2.  Please refer to http://www.ajaxuploader.com/document/scr/html/JavaScript-API.htm, the API "CuteWebUI_AjaxUploader_OnProgress" allow you create your own progress bar.

     

    Regards,

     

    Ken 

View Complete Thread