<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="UOM_Classes.aspx.cs" Inherits="HRMS.Purcahsing.UOM_Classes" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <div class="main-panel">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">

                        <header class="panel-heading">
                            Unit Of Measure Classes
                            <div class="pull-right">
                                <asp:button text="Save" CssClass="btn btn-info" ID="btn_save" Width="120px"
                                    ValidationGroup="save" runat="server" onclick="btn_save_Click" />                                
                                <asp:button text="Back" CssClass="btn btn-info" ID="btn_cancel" runat="server"
                                    onclick="btn_cancel_Click" /> 
                            </div>
                        </header>

                        <div class="panel-body">
                            <div class="span6">
                                <div id="divmessage" runat="server" visible="false"
                                    class="alert alert-info alert-dismissable">
                                    <asp:label text="" ID="lbl_msg" CssClass="msg" runat="server"></asp:label>
                                </div>
                            </div>

                            <div class="span6">
                                <div id="diverrmessage" runat="server" visible="false"
                                    class="alert alert-info alert-dismissable">
                                    <asp:label text="" id="lbl_err_msg" CssClass="msg" runat="server"></asp:label>
                                </div>
                            </div>
                            <div class="row" style="padding-top:10px">
                              
                             
                                <%-- <asp:HiddenField ID="SuppID" runat="server" />--%>
                                
                                <label class="control-label col-md-2">Code</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_Code" runat="server">
                                        </asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save"
                                            runat="server" id="req_Code" controltovalidate="txt_Code"
                                            errormessage="Code is Required!" />
                                        
                                    </div>
                                </div>
                               
                            </div>
                            <div class="row" style="padding-top:10px">
                                
                              <asp:HiddenField ID="hid_UOM" runat="server" />
                                <%-- <asp:HiddenField ID="SuppID" runat="server" />--%>
                                
                                <label class="control-label col-md-2">Name</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox ID="txt_ClassName" runat="server" CssClass="form-control" >
                                        </asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save"
                                            runat="server" id="req_txt_ClassName" controltovalidate="txt_ClassName"
                                            errormessage="ClassName is Required!" />
                                        
                                    </div>
                                </div>
                                 <label class="col-md-2 control-label">Base Unit</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_BaseUnit" runat="server" CssClass="form-control"></asp:TextBox>
                                  
                                    </div>
                                    </div>
                            </div>

                             <div class="row" style="padding-top:10px">
                           
                            <label class="col-md-2 control-label">UOM</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_UOM" runat="server" CssClass="form-control"></asp:TextBox>
                                                                  <span class="input-group-btn">
                                    <button id="btn_lov_UOM" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_UOM_Click"><i class="fa fa-search"></i></button>
                                    </span>
                                    </div>
                                    </div>
                           
                              <label class="col-md-2 control-label"> Active Date</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_Active" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                    </div>
                                    </div>
                            </div>

                               
                            <div class="row" style="padding-top:10px">
                           
                            <label class="col-md-2 control-label">Description</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_desc" runat="server" CssClass="form-control" TextMode="MultiLine"></asp:TextBox>
                                    
                                    </div>
                                    </div>
                           
                             
                            </div>

                            <hr />

                            <div class="row">
                                <asp:Label CssClass="control-label col-md-offset-2" ID="lbl_due" runat="server">
                                </asp:Label>
                            </div>

                        </div>
                    </section>
            </div>
        </div>
    </div>
</asp:Content>
