Re: ajax uploader do post back after loading files

  •  07-04-2010, 9:45 PM

    Re: ajax uploader do post back after loading files

    Hi adidamty,
     
    Please try this way
     
    1. <%@ Page Language="C#" Title="Customize the queue UI" %>   
    2.   
    3. <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>   
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">   
    5. <html xmlns="http://www.w3.org/1999/xhtml">   
    6. <head id="Head1" runat="server">   
    7. </head>   
    8. <body>   
    9.     <form id="Form1" runat="server">   
    10.         <CuteWebUI:UploadAttachments runat="server" ID="UploadAttachments1">   
    11.         </CuteWebUI:UploadAttachments>   
    12.     </form>   
    13. </body>   
    14. </html>   
    15.   
    16. <script>   
    17. var UploadAttachments1=document.getElementById("<%= UploadAttachments1.ClientID %>");   
    18.   
    19. function CuteWebUI_AjaxUploader_OnQueueUI(list)   
    20.   
    21. {   
    22.     if(UploadAttachments1.internalobject._queuecancelall)   
    23.     {   
    24.         var cancelAll=UploadAttachments1.internalobject._queuecancelall;   
    25.         cancelAll.style.backgroundColor="red";   
    26.     }   
    27. }   
    28. </script>  
    Regards,
     
    Ken
View Complete Thread