<%@ Page Title="Auto Upload" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" %>
<%@ Register Assembly="AjaxUploader" Namespace="AjaxUploader.Controls" TagPrefix="au" %>

<asp:Content ID="TitleContent" ContentPlaceHolderID="TitleContent" runat="server">Auto Upload - AjaxUploader v5.0 Demos</asp:Content>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeaderTitle" runat="server">Auto Upload</asp:Content>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">

<div class="demo-card">
    <div class="demo-card-header">Auto Upload</div>
    <div class="demo-card-body">
        <p class="demo-description">
            Files begin uploading immediately after selection. This is enabled with
            <code>AutoUpload="true"</code>. No separate upload button is needed.
        </p>

        <au:AjaxFileUpload ID="Uploader1" runat="server"
            AllowMultiple="true"
            AutoUpload="true"
            ButtonText="Select Files (Auto Upload)"
            ShowProgress="true" />

        <div class="code-panel">
            <pre><code>&lt;au:AjaxFileUpload ID="Uploader1" runat="server"
    AllowMultiple="true"
    AutoUpload="true"
    ButtonText="Select Files (Auto Upload)"
    ShowProgress="true" /&gt;</code></pre>
        </div>
    </div>
</div>

</asp:Content>
