Multiple Upload Controls

Last post 08-17-2010, 12:23 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  08-16-2010, 5:55 PM 63432

    Multiple Upload Controls

    Hi, we have a situation where we need to use two different upload controls on the same page. This is because each of the files uploaded have very specific purposes and are handled completely differently by the ASP.Net application.
     
    I have so far been able to meld the javascript to upload both files at once, one after the other on several controls. However, we need two different submit buttons because the files need to be uploaded seperately is there a way to do this in the javascript?
     
    Thanks
     
  •  08-17-2010, 12:23 PM 63455 in reply to 63432

    Re: Multiple Upload Controls

    snagpoonage,
     
    Ajax uploader allows you run multiple upload controls on the same page.
     
    Please try the following code:
    <%@ Page language="c#"%>
    <%@ Register Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" TagPrefix="CuteWebUI" %>
    <html>
    <head>
    </head>
    <body>
        <form id="Form1" method="post" runat="server">
     <CuteWebUI:Uploader runat="server" MultipleFilesUpload="true" ID="Uploader1">
     </CuteWebUI:Uploader> 
     <br><br><br>
     <CuteWebUI:Uploader runat="server" MultipleFilesUpload="true" ID="Uploader2">
     </CuteWebUI:Uploader> 
        </form>
    </body>
    </html>
     
    Let me know if you have any further questions.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML