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

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

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

<div class="demo-card">
    <div class="demo-card-header">Single File Upload</div>
    <div class="demo-card-body">
        <p class="demo-description">
            Upload a single file at a time. This is the default behavior when
            <code>AllowMultiple</code> is not set or set to <code>false</code>.
        </p>

        <au:AjaxFileUpload ID="Uploader1" runat="server"
            ButtonText="Select a File"
            AutoUpload="true"
            ShowProgress="true" />

        <div class="code-panel">
            <pre><code>&lt;%@ Register Assembly="AjaxUploader" Namespace="AjaxUploader.Controls" TagPrefix="au" %&gt;

&lt;au:AjaxFileUpload ID="Uploader1" runat="server"
    ButtonText="Select a File"
    AutoUpload="true"
    ShowProgress="true" /&gt;</code></pre>
        </div>
    </div>
</div>

</asp:Content>
