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.
- <%@ Page Language="C#" %>
-
- <%@ Register Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" TagPrefix="CuteWebUI" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <script runat="server">
- protected override void OnLoad(EventArgs e)
- {
- Button myButton = new Button();
- myButton.ID = "myUpload";
- myButton.Text = "custom upload button";
- panel1.Controls.Add(myButton);
- base.OnLoad(e);
- }
- </script>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- <title>Untitled Page</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <CuteWebUI:Uploader ID="Uploader1" runat="server" InsertButtonID="myUpload">
- </CuteWebUI:Uploader>
- <asp:Panel ID="panel1" runat="server"></asp:Panel>
- </form>
- </body>
- </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