Hi,
Because too many customers require this feature,
So we have add a new event 'UploadCompleted' for it ,
Please download it again and check this sample :
- <%@ Page Language="C#" %>
-
- <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader, Version=3.0.0.0, Culture=neutral, PublicKeyToken=bc00d4b0e43ec38d" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
- <script runat="server">
-
- protected void Uploader1_UploadCompleted(object sender, UploaderEventArgs[] args)
- {
- string msg = "You have uploaded " + args.Length + " files";
-
- foreach (UploaderEventArgs arg in args)
- {
- msg += "\r\n" + arg.FileName + "," + arg.FileSize;
- }
-
- Label1.Text = msg;
- }
- </script>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title>UploadCompleted sample</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <CuteWebUI:Uploader runat="server" ID="Uploader1" MultipleFilesUpload="True" OnUploadCompleted="Uploader1_UploadCompleted">
- </CuteWebUI:Uploader>
- <pre><asp:Label runat="server" ID="Label1" />
- </pre>
- </div>
- </form>
- </body>
- </html>
Regards,
Terry