<%@ Page Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" Inherits="PirTickets.CommentForm" Title="Comment" Codebehind="CommentForm.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>Comment:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:Label ID="TxtComment" MaxLength="1073741823" TextMode="MultiLine" Rows="5" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RfvComment" ControlToValidate="TxtComment" ErrorMessage="Comment is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Ticket Ref:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:DropDownList ID="DdlTicket_ref"  runat="server"><asp:ListItem></asp:ListItem></asp:DropDownList></td>
            <td><asp:RequiredFieldValidator ID="RfvTicket_ref" ControlToValidate="DdlTicket_ref" ErrorMessage="Ticket Ref is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Submitter:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:DropDownList ID="DdlSubmitter"  runat="server"><asp:ListItem></asp:ListItem></asp:DropDownList></td>
            <td><asp:RequiredFieldValidator ID="RfvSubmitter" ControlToValidate="DdlSubmitter" ErrorMessage="Submitter is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Submitted:</td>
            <td><span style="color:red;">*</span></td>
            <td><asp:Label ID="TxtSubmitted" MaxLength="23" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RfvSubmitted" ControlToValidate="TxtSubmitted" ErrorMessage="Submitted is required." Display="Dynamic" runat="server" /></td>
        </tr>
        <tr>
            <td>Assigned To:</td>
            <td></td>
            <td><asp:DropDownList ID="DdlAssigned_to"  runat="server"><asp:ListItem></asp:ListItem></asp:DropDownList></td>
            <td></td>
        </tr>
        <tr>
            <td>Priority Id:</td>
            <td></td>
            <td><asp:DropDownList ID="DdlPriority_id"  runat="server"><asp:ListItem></asp:ListItem></asp:DropDownList></td>
            <td></td>
        </tr>
        <tr>
            <td>Status Id:</td>
            <td></td>
            <td><asp:DropDownList ID="DdlStatus_id"  runat="server"><asp:ListItem></asp:ListItem></asp:DropDownList></td>
            <td></td>
        </tr>
        <tr>
            <td>Active:</td>
            <td></td>
            <td><asp:CheckBox ID="CbxActive"  runat="server" /></td>
            <td></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>
