Re: Javascript functions

  •  02-07-2011, 4:40 PM

    Re: Javascript functions

    Dear meti,
     
    1. How to I prevent from displaying the list of files that have been canceled? I mean all files that their status is "Error". 
    Please try the following code:
    <%@ 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">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>Uploading multiple files like GMail</title>
        <style type="text/css">
            .AjaxUploaderQueueTable
            {
                display: none;
            }
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <CuteWebUI:UploadAttachments MultipleFilesUpload="true" InsertText="Upload Multiple files Now"
            runat="server" ID="Attachments1">
        </CuteWebUI:UploadAttachments>
        </form>
    </body>
    </html>
    2. Also how do I get access to the list of files already in queue? I need this so I can remove some files based on some conditions.
     You can refer to http://ajaxuploader.com/Demo/multiple-files-upload.aspx , you will can remove some files after upload is finished.
     
    3. Where can I find the list of JavaScript methods and properties that the uploader supports? For example: uploadobj.getqueuecount(), uploadobj.startupload(), etc.
     
    Thank you for asking
View Complete Thread