<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="Emp_Project_Info.aspx.cs" Inherits="HRMS.Emp_Project_Info" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="row">
        <div class="col-lg-12">
            <!--breadcrumbs start -->
            <ul class="breadcrumb">
                <li><a href="#" id="home" runat="server"><i class="fa fa-home"></i>Home</a></li>
                <li><a href="#" id="ppl" runat="server">People</a></li>
                <li><a href="#" id="ppl_index" runat="server">Employee List</a></li>
            </ul>
            <!--breadcrumbs end -->
        </div>
    </div>
    <asp:Panel ID="main_pnl" runat="server">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                        <header class="panel-heading">.
                        <div class="pull-left">
                        <asp:Label ID="lbl_emp" runat="server" CssClass="control-label"></asp:Label>
                        </div>
                          <div class="action pull-right">
                                     <asp:Button ID="btnSave" class="btn btn-info" runat="server" Text="Save" 
                                         onclick="btnSave_Click"></asp:Button>
                                     <a href="#" id="aCancel" runat="server" class="btn btn-info"  visible= "false">Back</a>       
                                      
                            </div>
                        </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>



                                   <asp:GridView ID="GridView1" runat="server" CellPadding="0" Border="0" 
                                        AutoGenerateColumns="False" CssClass="display"  OnRowCommand="GridView1_RowCommand">
                                        <Columns>

                                        
                                           <%-- <asp:TemplateField HeaderText="Project">
                                               <ItemTemplate>
                                               <asp:HiddenField ID="hid_emp_assign" runat="server" Value='<%#Bind("EMP_PROJECT_ASSIGN_ID") %>' />
                                                    <div class="input-group">
                                                        <asp:HiddenField ID="hid_projct_id" runat="server" Value='<%#Bind("PROJECT_ID") %>' />
                                                            <asp:TextBox ID="txt_pro" runat="server" CssClass="form-control" Text='<%#Bind("ACCOUNT_ID") %>' ></asp:TextBox>
                                                                <span class="input-group-btn">
                                                                    <button id="btn_lov" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_Click"><i class="fa fa-search"></i></button>
                                                                </span>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:TemplateField>--%>


                                             <asp:TemplateField HeaderText="Project" >
                                                <ItemTemplate>
                                                <asp:HiddenField ID="hid_emp_assign" runat="server" Value='<%#Bind("EMP_PROJECT_ASSIGN_ID") %>' />
                                                    <asp:TextBox ID="txt_pro" CssClass="form-control col-md-1"  runat="server" Text='<%#Bind("PROJECT_ID") %>' ></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>


                                            <asp:TemplateField HeaderText="Date From" >
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_date_frm" CssClass="form-control col-md-1 datetime"  runat="server" Text='<%#Bind("DATE_FROM") %>' ></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                             <asp:TemplateField HeaderText="Date To" >
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_date_to" CssClass="form-control col-md-1 datetime"  runat="server" Text='<%#Bind("DATE_TO") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            
                                             <asp:TemplateField HeaderText="Persentage" >
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_per" CssClass="form-control"  runat="server" Text='<%#Bind("PERSENTAGE") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                            <%--<asp:TemplateField HeaderText="Description">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="txt_desc" CssClass="form-control col-md-2" runat="server"  Text='<%#Bind("DESCRIPTION") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>--%>

                                            <asp:TemplateField HeaderText="Action" >
                                                <ItemTemplate>
                                                    <asp:LinkButton ID="lnk" CommandName="g_add" runat="server"><i class="fa fa-plus" style="font-size:20px !important"></i></asp:LinkButton>
                                                    &nbsp;
                                                    <asp:LinkButton ID="lnk_cal"   CommandName="g_cal" runat="server" ><i class="fa fa-check" style="font-size:20px !important"></i></asp:LinkButton>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                       
                                    </asp:GridView>


                             </div>

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