Hi Killianmcc,
Please try the example below. I use a new div traget to replace the progress text, then you can place the div traget to any place you need.
- <%@ Page Language="C#" %>
-
- <%@ Register Namespace="CuteWebUI" TagPrefix="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 id="Head1" runat="server">
- <title>example</title>
- <style>
- .AjaxUploaderProgressInfoText
- {
-
- display:none;
- }
- </style>
- </head>
- <body>
- <form id="form1" runat="server">
- <div id="div1">
- </div>
- <CuteWebUI:UploadAttachments ID="uploader1" runat="server">
- </CuteWebUI:UploadAttachments>
- <asp:Label ID="label1" runat="server" style="visibility:hidden"></asp:Label>
- </form>
- </body>
- </html>
-
- <script>
- function CuteWebUI_AjaxUploader_OnProgress(enable,filename,begintime,uploadedsize,totalsize)
- {
- for(var i=0;i<document.getElementsByTagName("TD").length;i++)
- {
- if(document.getElementsByTagName("TD")[i].className=="AjaxUploaderProgressInfoText")
- {
-
- document.getElementById("div1").innerHTML=document.getElementsByTagName("TD")[i].innerHTML;
- }
-
- }
- }
- </script>
Regards,
Ken