<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="QPulseRestService.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
        <div>
        <table style="width:573px; height: 115px;" cellpadding="1" frame="border">
        <tr>
            <td align="Left"  colspan="3">
                Find documents by criteria:</td>
        </tr>
        <tr>
            <td align="Right" >
                &nbsp;</td>
            <td >
                &nbsp;</td>
            <td align="left" >
               
                &nbsp;</td>
        </tr>
        <tr>
            <td align="Right" >
                <asp:Label ID="Label1" runat="server" Text="Status"></asp:Label>
            </td>
            <td >
                <asp:DropDownList ID="DocumentStatus" runat="server" 
                            Width="100%">
                         <asp:ListItem Value="Active"></asp:ListItem>
                         <asp:ListItem Value="Draft"></asp:ListItem>
                         <asp:ListItem Value="DraftApproved">Draft Approved</asp:ListItem>
                     </asp:DropDownList>
            </td>
            <td align="left" >
               
                &nbsp;</td>
        </tr>
        <tr>
            <td align="Right" >
                <asp:Label ID="Label2" runat="server" Text="Search Criteria"></asp:Label>
            </td>
            <td >
                <asp:TextBox ID="SearchTerms" runat="server" Width="100%" 
                             ValidationGroup="Search"></asp:TextBox>
                             
            </td>
            <td >
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="SearchTerms" ErrorMessage="Search criteria is required" 
                    ValidationGroup="Search"></asp:RequiredFieldValidator>
                             
            </td>
        </tr>
        <tr>
        <td align="Right" >
            </td>
            <td align="Right" >
               
                <asp:Button ID="SearchButton" runat="server" 
                             Text="Search" ValidationGroup="Search" onclick="SearchButton_Click" />
               
            </td>
            <td align="left" >
               
                &nbsp;</td>
        </tr>
        <td align="Right" >
            &nbsp;</td>
            <td class=style9>
                &nbsp;</td>
            <td class=style2>
                &nbsp;</td>
        </tr>
        </table>
        <br />
        <table style="width:575px; height: 115px;" cellpadding="1" frame="box">
        <tr>
            <td align="Left"  colspan="3">
                Locate a particular document revision:</td>
        </tr>
        <tr>
            <td align="Left"  colspan="3">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="Right" >
                <asp:Label ID="Label3" runat="server" Text="Document Revision"></asp:Label>
            </td>
            <td >
                <asp:TextBox ID="DocumentRevision" runat="server" Width="100%" 
                             ValidationGroup="LocateRevision"></asp:TextBox>
            <td >
                
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="DocumentRevision" 
                    ErrorMessage="Document Revision is required" ValidationGroup="LocateRevision"></asp:RequiredFieldValidator>
                    </td>
        </tr>
        <tr>
            <td align="Right" >
                <asp:Label ID="Label4" runat="server" Text="Document Number"></asp:Label>
            </td>
            <td >
                <asp:TextBox ID="DocumentNumber" runat="server" Width="100%" 
                             ValidationGroup="LocateRevision"></asp:TextBox>
                             
            </td>
            <td >
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="DocumentNumber" 
                    ErrorMessage="Document Number is required" ValidationGroup="LocateRevision"></asp:RequiredFieldValidator>
                             
            </td>
        </tr>
        <tr>
        <td align="Right" >
            </td>
            <td align="Right" >
               
                <asp:Button ID="LocateRevisionButton" runat="server" 
                             Text="Locate Revision" ValidationGroup="LocateRevision" onclick="LocateRevisionButton_Click" />
               
            </td>
            <td align="left" >
               
                &nbsp;</td>
        </tr>
        <td align="Right" >
            &nbsp;</td>
            <td class=style6>
                &nbsp;</td>
            <td class=style2>
                &nbsp;</td>
        </tr>
        </table>
        </div>
</asp:Content>
