<%@ Page Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" Inherits="PirTickets.PriorityForm" Title="Priority" Codebehind="PriorityForm.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:TextBox 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>Priority Name:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:TextBox ID="TxtPriority_name" MaxLength="50" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RfvPriority_name" ControlToValidate="TxtPriority_name" ErrorMessage="Priority Name is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Level:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:TextBox ID="TxtLevel" MaxLength="10" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RfvLevel" ControlToValidate="TxtLevel" ErrorMessage="Level is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td colspan="2"></td>
            <td colspan="2">
                <asp:Button ID="BtnUpdate" runat="server" Text="Submit" 
                    onclick="BtnUpdate_Click" />&nbsp;&nbsp;
                <asp:Button ID="BtnCancel" CausesValidation="false" runat="server" Text="Cancel" />
            </td>
        </tr>
    </table>
</asp:Content>
