<%@ Page Language="c#" %>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head runat="server">
    <title>v4 (CuteWebUI) compatibility demos - AjaxUploader 5</title>
    <link rel="stylesheet" href="demo.css" type="text/css" />
</head>
<body>
    <div class="content">
        <p><a class="backlink" href="../../Demos.aspx">&#8592; All AjaxUploader demos</a></p>
        <h1>v4 compatibility demos</h1>
        <p>These pages are ports of the AjaxUploader 4.0 sample set, running on AjaxUploader 5.
            The markup, the event signatures and the client-side script are the v4 originals -
            only the DLL underneath changed. They exist to prove an upgraded v4 project keeps
            working, and to catch it in the build if that stops being true.</p>

        <div class="note">
            Upgrading from 4.x? These pages are the shortest answer to "will my code still run".
            Each one calls out the compatibility defect it covers, so if something misbehaves you
            can tell immediately whether it is your page or the control.
        </div>

        <div class="panel">
            <ul class="demo-index">
                <li>
                    <a href="simple-upload.aspx">Simple Upload with Progress</a>
                    <span>The baseline: <code>&lt;CuteWebUI:Uploader&gt;</code>, <code>ValidateOption</code>,
                        and a <code>FileUploaded</code> handler with the v4 signature.</span>
                </li>
                <li>
                    <a href="selecting-multiple-files.aspx">Selecting Multiple Files</a>
                    <span><code>MultipleFilesUpload</code>, one <code>FileUploaded</code> per file, and the
                        automatic postback v4 pages rely on.</span>
                </li>
                <li>
                    <a href="multiple-files-upload.aspx">Multiple Files Upload (attachments list)</a>
                    <span>Exercises the <code>FileValidating</code> and <code>UploadCompleted</code> events, and
                        the <code>MaxFilesLimit</code> that was previously ignored.</span>
                </li>
                <li>
                    <a href="simple-upload-Validation.aspx">Upload Validation</a>
                    <span><code>DialogFilter</code> file-type restriction and the per-control message
                        properties, both inert before 5.3.2.</span>
                </li>
                <li>
                    <a href="Start-uploading-manually.aspx">Start Uploading Manually</a>
                    <span>The v4 <strong>client-side</strong> API: <code>getqueuecount()</code>,
                        <code>startupload()</code> and <code>CuteWebUI_AjaxUploader_OnPostback()</code>.</span>
                </li>
                <li>
                    <a href="Persist-upload-file.aspx">Persisted File Upload</a>
                    <span><code>UploadPersistedFile</code> and the nine members it lost when the v4
                        inheritance chain was broken.</span>
                </li>
            </ul>
        </div>

        <h2>What these cover</h2>
        <p>Every page above failed in some way on AjaxUploader 5.3.1 or earlier - some at compile
            time, some silently at runtime. The silent ones are the reason this folder exists: a
            page that renders and uploads can still be ignoring your file-count limit, your
            file-type restriction or your translated messages.</p>
    </div>
</body>
</html>
