Re: Change MultipleFilesUpload on-the-fly

  •  06-30-2011, 8:52 AM

    Re: Change MultipleFilesUpload on-the-fly

    Hi smcleod,
     
    Please set MultipleFilesUpload="false" and try it again:

    <%@ Page Language="C#" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <script runat="server">
        void InsertMsg(string msg)
        {
            ListBoxEvents.Items.Insert(0, msg);
            ListBoxEvents.SelectedIndex = 0;
        }
    </script>

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>Uploading multiple files like GMail</title> 
    </head>
    <body>
        <form id="form1" runat="server">
            <div class="content">        
                <br />
                <CuteWebUI:UploadAttachments InsertText="Upload Multiple files Now" runat="server"
                    ID="Attachments1" MultipleFilesUpload="false">
                    <InsertButtonStyle />
                </CuteWebUI:UploadAttachments>
                <br />
                <br />          
                <br />
                <div>
                    Server Trace:
                    <br />
                    <asp:ListBox runat="server" ID="ListBoxEvents" Width="400"></asp:ListBox>
                </div>
            </div>
        </form>
    </body>
    </html>

    Thanks for asking
View Complete Thread