<%@ Page Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" Inherits="PirTickets.UserForm" Title="User" Codebehind="UserForm.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="2" border="0">
        <tr>
            <td>Id:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:Label ID="TxtId" MaxLength="10" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RfvId" ControlToValidate="TxtId" ErrorMessage="Id is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>User Name:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:Label ID="TxtUserName" MaxLength="1073741823" TextMode="MultiLine" Rows="5" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RfvUserName" ControlToValidate="TxtUserName" ErrorMessage="User Name is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Phone:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:Label ID="TxtPhone" MaxLength="20" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RfvPhone" ControlToValidate="TxtPhone" ErrorMessage="Phone is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Email:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:Label ID="TxtEmail" MaxLength="1073741823" TextMode="MultiLine" Rows="5" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RfvEmail" ControlToValidate="TxtEmail" ErrorMessage="Email is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Sub Unit:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:DropDownList ID="DdlSub_unit"  runat="server"><asp:ListItem></asp:ListItem></asp:DropDownList></td>
            <td><asp:RequiredFieldValidator ID="RfvSub_unit" ControlToValidate="DdlSub_unit" ErrorMessage="Sub Unit is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Is Admin:</td>
            <td></td>
            <td><asp:CheckBox ID="CbxIs_admin"  runat="server" /></td>
            <td></td>
        </tr>
        <tr>
            <td colspan="2"></td>
            <td colspan="2">
                <asp:Button ID="BtnUpdate" runat="server" Text="Submit" />&nbsp;&nbsp;
                <asp:Button ID="BtnCancel" CausesValidation="false" runat="server" Text="Cancel" />
            </td>
        </tr>
    </table>
</asp:Content>
