<%@ Page Title="Combined Validation Rules" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" %>
<%@ Register Assembly="AjaxUploader" Namespace="AjaxUploader.Controls" TagPrefix="au" %> 
<asp:Content ID="TitleContent" ContentPlaceHolderID="TitleContent" runat="server">Combined Validation Rules - AjaxUploader v5.0 Demos</asp:Content>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeaderTitle" runat="server">Combined Validation Rules</asp:Content> 
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server"> 
<div class="demo-card"> <div class="demo-card-header">Combined Validation Rules</div> <div class="demo-card-body"> <p class="demo-description"> Combine multiple validation rules: allowed extensions, max file size, max file count,
 and min file size all working together in a single uploader.
 </p> <au:AjaxFileUpload ID="Uploader1" runat="server"
 AllowMultiple="true"
 AllowedExtensions=".jpg,.png,.gif,.pdf"
 MaxFileSize="3MB"
 MinFileSize="1KB"
 MaxFileCount="5"
 ButtonText="Select Files"
 AutoUpload="true"
 ShowProgress="true" /> <div class="code-panel"> <pre><code>&lt;au:AjaxFileUpload ID="Uploader1" runat="server"
 AllowMultiple="true"
 AllowedExtensions=".jpg,.png,.gif,.pdf"
 MaxFileSize="3MB"
 MinFileSize="1KB"
 MaxFileCount="5"
 ButtonText="Select Files"
 AutoUpload="true"
 ShowProgress="true" /&gt;</code></pre> </div> <h5 class="mt-4">Active Rules</h5> <table class="table table-sm table-bordered mt-2"> <thead><tr><th>Rule</th><th>Value</th></tr></thead> <tbody> <tr><td>Allowed Extensions</td><td>.jpg, .png, .gif, .pdf</td></tr> <tr><td>Maximum File Size</td><td>3 MB</td></tr> <tr><td>Minimum File Size</td><td>1 KB</td></tr> <tr><td>Maximum File Count</td><td>5</td></tr> </tbody> </table> </div>
</div> 
</asp:Content>
