Hi,
Please try the example below, you can achieve it in "function myqueueuihandler(list)".
- <%@ Page Language="C#" Title="Customize the queue UI" %>
-
- <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- </head>
- <body>
- <form id="Form1" runat="server">
- <CuteWebUI:Uploader ID="Uploader1" runat="server" MultipleFilesUpload="true">
- </CuteWebUI:Uploader>
- </form>
- </body>
-
- <script>
-
- var uploader=document.getElementById("<%=Uploader1.ClientID %>");
-
- uploader.handlequeueui=myqueueuihandler;
-
- function myqueueuihandler(list)
-
- {
- for(var i=0;i<list.length;i++)
- {
- var name=list[i].FileName
-
-
- if(name=="1.gif")
-
- {
- list[i].Cancel();
- }
- }
- }
- </script>
-
- </html>
Regards,
Ken