<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Work_status.aspx.cs" Inherits="VMT.Work_status" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style2 {
            width: 50%;
            height: 26px;
        }
        .auto-style3 {
            height: 26px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphJavaScriptContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphPageTitleContentPlaceHolder" runat="server">
    <div id="CssPageTitle">
        <h1>
            Work Status
        </h1>
    </div>
    <div id="SubPageTitle">
        <!-- OPTIONAL SUB PAGE TITLE -->
       
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphMainContentPlaceHolder" runat="server">
     <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
 <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                    <ContentTemplate>
                        <div style="text-align:right;"><a href="default.aspx">Home</a> <strong>&#8249;&#8249;</strong> <a href="Administration.aspx">Administration</a> <strong>&#8249;&#8249;</strong> Work Status</div>
    <div id="wrapper" class="clear">
        <div id="left">
            <fieldset class="masterform">
                <legend>Work Status Detail</legend>
                <div style=" width: 100%; height:300px; ">
                    <table cellpadding="3" class="auto-style1">
                        <tr>
                            <td colspan="2"><strong>Add or Update Work Status</strong></td>
                        </tr>
                        <tr>
                            <td style="width:50%;">&nbsp;</td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td style="width:50%;">&nbsp;</td>
                            <td>
                                <asp:HiddenField ID="hdn_keyid" runat="server" />
                                <asp:Button ID="btn_create" runat="server" OnClick="btn_create_Click" Text="Create New" CssClass="FormButton" />
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style2">Work Status Desc</td>
                            <td class="auto-style3">
                                <asp:TextBox ID="txt_desc" runat="server" MaxLength="20"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="width:50%;">&nbsp;</td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td style="width:50%; text-align:right;">
                                <asp:Button ID="btn_add" runat="server" OnClick="btn_add_Click" Text="Add New" CssClass="FormButton" />
                            </td>
                            <td style="width:50%; text-align:left;">
                                <asp:Button ID="btn_delete" runat="server" OnClick="btn_delete_Click" Text="Delete" CssClass="FormButton" />
                                &nbsp;<asp:Button ID="btn_reset" runat="server" OnClick="btn_reset_Click" Text="Reset" CssClass="FormButton" />
                            </td>
                        </tr>
                    </table>
                </div>
            </fieldset>
        </div>
        <div id="right">
            <fieldset class="masterform">
                <legend>Work Status List</legend>
                <div style=" width: 100%; height:300px;  overflow-y: scroll;">
                    <asp:GridView ID="gdv_list" runat="server" BorderColor="#014567" CellPadding="3" OnSelectedIndexChanging="gdv_list_SelectedIndexChanging" Width="96%" OnRowCreated="gdv_list_RowCreated">
                        <AlternatingRowStyle BackColor="#E9EFF2" />
                        <Columns>
                            <asp:TemplateField ShowHeader="False">
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Select"><img src="resource_gallery/graphics/select.png" /></asp:LinkButton>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                            </asp:TemplateField>
                        </Columns>
                        <HeaderStyle BackColor="#98C8DE" Font-Bold="True" />
                         <SelectedRowStyle BackColor="#FFE98F" />
                    </asp:GridView>
                </div>
            </fieldset>
        </div>
    </div>
</ContentTemplate>
            </asp:UpdatePanel>
</asp:Content>
