<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Mini.aspx.cs" Inherits="eDocument.ReferenceImplementation.CustomForm.Mini" %>
<%@ Register TagPrefix="edoc" Namespace="eDocument.Viewer" Assembly="eDocument.Viewer" %>

<html>
    <body>
        <edoc:WebForm id="_form" runat="server" title="the mini form" processing='save(xml, pdf, attachments) to "c:\temp\form2"'>
            <asp:Label Text="First name" AssociatedControlID="txtFirstName" ID="lblFirstName" runat="server" />
            <asp:TextBox ID="txtFirstName" runat="server" prefill="true" /><br />
            <asp:Label Text="Last name" AssociatedControlID="txtLastName" ID="lblLastName" runat="server" />
            <asp:TextBox ID="txtLastName" runat="server" /><br />
            <asp:Label Text="Upload" AssociatedControlID="upload" runat="server" ID="lblUpload" />
            <asp:FileUpload runat="server" ID="upload" /><br />
            <asp:Label Text="Pet" AssociatedControlID="ddlPet" ID="lblPet" runat="server" />
            <asp:DropDownList ID="ddlPet" runat="server">
                <asp:ListItem Text="--- select a pet ---" Value="-1" />
                <asp:ListItem Text="Cat" Value="c" />
                <asp:ListItem Text="Dog" Value="d" />
            </asp:DropDownList><br />
            <asp:Label Text="Sports" AssociatedControlID="rblSports" ID="lblSports" runat="server" />
            <asp:RadioButtonList ID="rblSports" runat="server">
                <asp:ListItem Text="golf" Value="g" />
                <asp:ListItem Text="tennis" Value="t" />
            </asp:RadioButtonList>
            <asp:Label Text="Hobbies" AssociatedControlID="chkHobbies" ID="lblCheckSelect" runat="server" />
            <asp:CheckBoxList ID="chkHobbies" runat="server">
                <asp:ListItem Text="work" Value="w" />
                <asp:ListItem Text="play" Value="p" />
            </asp:CheckBoxList>
            <asp:Button Text="Save" OnClick="btnSave_Click" ID="btnSave" runat="server" />            
            <asp:Button Text="Reset" OnClick="btnReset_Click" ID="btnReset" runat="server" />            
            <asp:Button Text="Submit" OnClick="btnSubmit_Click" ID="btnSubmit" runat="server" /><br />
            <asp:Label ID="lblMessage" runat="server" />
        </edoc:WebForm>
    </body>
</html>
