Re: Hide table with class = AjaxUploaderQueueTable

  •  09-26-2011, 7:57 AM

    Re: Hide table with class = AjaxUploaderQueueTable

    Hi starrillo,
     
    Please try the example below
     
    <%@ 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">

    <script runat="server">

        protected void UploadAttachments1_PreRender(object sender, EventArgs e)
        {
            UploadAttachments1.GetItemsTable().Visible = false;
        }
    </script>

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
    </head>
    <body>
        <form id="Form1" runat="server">
            <div>
                <CuteWebUI:UploadAttachments runat="server" ID="UploadAttachments1" OnPreRender="UploadAttachments1_PreRender">
                </CuteWebUI:UploadAttachments>
            </div>
        </form>
    </body>

    <script>
    var uploader=document.getElementById("<%=UploadAttachments1.ClientID %>");
    uploader.handlequeueui=myqueueuihandler;
    function myqueueuihandler(list)
    {
        return false; //hide the default;
    }

    </script>
    </html>
     
    Regards,
     
    Ken
View Complete Thread