<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="QPulseRestService.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<LINK href="css/site.css" type="text/css" rel="stylesheet">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        #form1
        {
            height: 307px;
        }
        .style2
        {
            width: 102px;
        }
    </style>
</head>
<body>
     <form id="form1" runat="server">
     <div  id="header" align="center" style="width:350px">
         <img alt="" src="images/loginlogo.gif" style="width: 213px; height: 64px" 
             align="middle" /><br />
         Document Locator</div>
         <table style="width:300px; height: 115px;">
        <tr>
            <td align="Right" class="style2">
                <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:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="Right" class="style2">
                <asp:Label ID="Label2" runat="server" Text="Search Criteria"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="DocumentNumber" runat="server" Width="100%" 
                             ValidationGroup="DocumentNumber"></asp:TextBox>
                             
            </td>
        </tr>
        <tr>
        <td align="Right" class="style2">
            </td>
            <td align="left">
               
                <asp:Button ID="SearchButton" runat="server" 
                             Text="Search" ValidationGroup="Number" onclick="SearchButton_Click" />
               
            </td>
        </tr>
        <td align="Right" class="style2">
            &nbsp;</td>
            <td class=style2>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="DocumentNumber" ErrorMessage="Search criteria is required"></asp:RequiredFieldValidator>
             </td>
        </tr>
        </table>
     </form>
 
</body>
</html>
