<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="SYS_USER_RESPONSIBILITY.aspx.cs"
    Inherits="HRMS.SYS_USER_RESPONSIBILITY" Title="Cloud HR - User Responsibility::." %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Panel ID="main_pnl" runat="server">
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
<header class="panel-heading">User Responsibility</header>
<div class="panel-body">
<div class="span6">
<div id="divMessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
<i class="icon-check-sign"></i>
<asp:Label ID="lblMessage" class="msg" runat="server" Text="" ></asp:Label>
</div>
<div class="span6">
<div id="diverrorMessage" runat="server" visible="false" class="alert alert-danger alert-dismissable">
<i class="icon-check-sign"></i>
<asp:Label ID="lblerrorMessage" class="msg" runat="server" Text="" ></asp:Label>
</div>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">User</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_Username" runat="server" Enabled="false" CssClass="form-control"></asp:TextBox>
<asp:HiddenField id="hid_userid" runat="server"/>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Responsibility</label>
<div class="col-lg-4">
<asp:DropDownList ID="ddl_resp" runat="server" CssClass="form-control select2"></asp:DropDownList>
<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_ddl_resp" ControlToValidate="ddl_resp" ErrorMessage="Responsibility is required. " ValidationGroup="save" setfocusonerror="true"></asp:RequiredFieldValidator>

</div>
</div>


<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Date From</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_DATE_FROM" runat="server" placeholder="" CssClass="form-control datetime"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator_txt_DATE_FROM" ControlToValidate="txt_DATE_FROM" ErrorMessage=" is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Date To</label>
<div class="col-lg-4">
<asp:TextBox ID="txt_DATE_TO" runat="server" placeholder="" CssClass="form-control datetime"></asp:TextBox>
</div>
</div>

<div class="form-group">
<div class="col-lg-1"></div>
<div class="col-lg-offset-2 col-lg-8">
<asp:Button ID="btnSave" class="btn btn-info" runat="server" Text="Save"  onclick="btnSave_Click" ValidationGroup="save" ></asp:Button>
<a href="#" id="aCancel" runat="server" class="btn btn-info">Back</a>
</div>
</div>

</div>
</section>
            </div>
        </div>
    </asp:Panel>
    <script src="../../ThemeScrips/jquery.min.js"></script>
    <link href="../../ThemeScrips/select2.min.css"
        rel="stylesheet" />
    <script src="../../ThemeScrips/select2.min.js"></script>
    <%--<script src="/ThemeScrips/select2.min.js"></script>--%>
    <script>
        $('.select2').select2();
    </script>
</asp:Content>
