<%@ page language="C#" autoeventwireup="true" masterpagefile="~/html/MasterPage.master" inherits="html_TaskAssignedFromAnotherEmployee, App_Web_fz5gj3qy" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ MasterType VirtualPath="~/html/MasterPage.master"%>


<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    
 <link href="../css/buttoncss.css" type="text/css" rel="Stylesheet"/>
  
<style type="text/css">
    
     .shadow_five2 {
            background-color: #FFF0DB;      
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            -o-border-radius: 10px;
            -ms-border-radius: 10px;
            border-radius: 10px;
            border-radius: 10px;
            -moz-box-shadow: 0px 0px 0px #B1A59A;
            -webkit-box-shadow: 0px 0px 0px #B1A59A;
            -o-box-shadow: 0px 0px 0px #B1A59A;
            -ms-box-shadow: 0px 0px 0px #B1A59A;
            box-shadow: 0px 0px 0px #B1A59A;
           width:65%;
        }
     .ddd{
        align-content:center;
        align-items:center;
        text-align:center;
     }
 .p1
        {
       background-image: linear-gradient(to bottom, #fcfcfc, #f7f7f7 3%, #ff9966 12%,#ff9966 90%, #bfbfbf);
-webkit-box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
-moz-box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white ;
box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
            height:35px;
            width:450px;
        }
        
        .p2
        {
       background-image: linear-gradient(to bottom, #fcfcfc, #f7f7f7 3%, #ff9966 12%,#ff9966 90%, #bfbfbf);
-webkit-box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
-moz-box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white ;
box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
            height:35px;
            width:450px;
        }
</style>
</asp:Content>
<asp:Content  ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <div class="p1"  >
     <p style="font-family:Verdana; font-size:16px; margin-top:10px;color:Blue;font-weight:bold;padding-top:10px;">
     <b style="color:Blue;">Task Assigned From Another Employee</b>
     </p>
  </div>

       
            
   <asp:Panel runat="server" ID="panelgrid">
       <asp:GridView runat="server" ID="gv_palnningdeatils" 
         AutoGenerateColumns="False"  AllowPaging="true" 
       ForeColor="#333333" GridLines="Both"  Font-Names="Verdana" Font-Size="12px" 
         CellSpacing="5" CellPadding="5"
           RowStyle-Height="30" PageSize="20" Width="60%" >
 <%--         onpageindexchanging="gv_palnningdeatils_PageIndexChanging" >--%>
           <%--onrowcommand="gv_palnningdeatils_RowCommand"--%>
      <RowStyle BackColor="#ffc9bb" ForeColor="#333333" />
        <Columns>
      <%--  <asp:TemplateField HeaderText="Sr.No" ItemStyle-Width="50px">
        <ItemTemplate>
        <center>
        <asp:Label runat="server" ID="lbl_srno" Text='<% # Eval("Row")%>'></asp:Label>
        </center>
        </ItemTemplate>
        </asp:TemplateField>--%>
            
           <asp:TemplateField HeaderText="Employee Name" ItemStyle-Width="250px">
        <ItemTemplate>
        <asp:Label ID="lbl_employee_name" runat="server" Text='<%# Eval("EName") %>' ></asp:Label>
           </ItemTemplate>
        </asp:TemplateField>
        
        
            <asp:TemplateField HeaderText="Project Name" ItemStyle-Width="150px">
        <ItemTemplate>
                <asp:Label ID="lbl_mantstage_name" runat="server" Text='<%# Eval("PName") %>' Width="150px" ></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
            <asp:TemplateField HeaderText="Sub Stage" ItemStyle-Width="150px">
        <ItemTemplate>
                <asp:Label ID="substagedesc" runat="server" Text='<%# Eval("sub_stage_desc") %>' Width="150px" ></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
            <asp:TemplateField HeaderText="Task Name" ItemStyle-Width="150px">
        <ItemTemplate>
                <asp:Label ID="taskdesc" runat="server" Text='<%# Eval("subsubstagedesc") %>' Width="150px" ></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
            <asp:TemplateField HeaderText="Start Date" ItemStyle-Width="150px">
        <ItemTemplate>
                <asp:Label ID="startdate" runat="server" Text='<%# Eval("startdate") %>' Width="150px" ></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
            <asp:TemplateField HeaderText="Completion Date" ItemStyle-Width="150px">
        <ItemTemplate>
                <asp:Label ID="completiondate" runat="server" Text='<%# Eval("pdcdate") %>' Width="150px" ></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
              <asp:TemplateField HeaderText="Total Days" ItemStyle-Width="150px">
        <ItemTemplate>
                <asp:Label ID="totaldays" runat="server" Text='<%# Eval("totaldays") %>' Width="150px" ></asp:Label>
        </ItemTemplate>
        </asp:TemplateField>
            
      <%--  
        <asp:TemplateField HeaderText="Activity name <br/>Sub Stage" ItemStyle-Width="250px">
        <ItemTemplate>
            <asp:Label ID="lbl_project_name" runat="server" Text='<%# Eval("Mainstage_name") %>' ForeColor="#CC00FF" Width="300px"></asp:Label>
            <br />
              <asp:Label ID="lb_l_sub_sta_ge_desc" runat="server" Text='<%# Eval("sub_stage_desc") %>' Width="300px"></asp:Label>                  
        </ItemTemplate>
        </asp:TemplateField>--%>
                <%--       <asp:TemplateField HeaderText="Task Name" ItemStyle-Width="350px">
                                    <ItemTemplate>
                                       <asp:Label runat="server" ID="lbl_subid" Text='<%# Eval("subsubstage_id") %>' Visible="false" ></asp:Label>
                                       <asp:Label ID="lblCName" runat="server" Text='<%# Eval("sub_sub_stage_desc")%>' 
                                                Width="340px"></asp:Label></ItemTemplate>                                                                                         
                                                </asp:TemplateField>
                                                
                                                <asp:TemplateField HeaderText="Start Date" ItemStyle-Width="80px">
                                    <ItemTemplate>
                                           <asp:Label ID="lbl_startdate" runat="server" Text='<%# Eval("startdate_DATE")%>' 
                                                Width="80px"></asp:Label></ItemTemplate>                                            
                                             </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Completion Date" ItemStyle-Width="80px">
                                    <ItemTemplate>
                                       
                                            <asp:Label ID="lbl_pdc" runat="server" Text='<%# Eval("pdc1_DATE")%>' Enabled="true"
                                                Width="80px"></asp:Label></ItemTemplate><EditItemTemplate>
                                        
                                            <asp:TextBox ID="txt_pdc" runat="server" Text='<%# Eval("PDC_date")%>' 
                                                 Width="75px" Enabled="false" BorderColor="Black" BorderWidth="1px" >
                                                </asp:TextBox></EditItemTemplate></asp:TemplateField>
                                                <asp:TemplateField HeaderText="Total Days" ItemStyle-Width="60px">
                                    <ItemTemplate>
                                       <center>
                                            <asp:Label ID="lbl_totaldays" runat="server" Text='<%# Eval("total_days")%>' 
                                                Width="60px"  align="right"></asp:Label></ItemTemplate><EditItemTemplate>
                                        </center>
                                            <asp:TextBox ID="txt_totaldays" runat="server" Text='<%# Eval("total_days")%>' 
                                                 Width="50px" BorderColor="Black" BorderWidth="1px"></asp:TextBox></EditItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Cost" ItemStyle-Width="70px">
                                    <ItemTemplate>
                                      
                                            <asp:Label ID="lbl_percost" runat="server" Text='<%# Eval("mainstage_cost")%>' 
                                                Width="70px" align="right" ></asp:Label>
                                                </ItemTemplate>
                                                <EditItemTemplate>
                                                <asp:TextBox ID="txt_percost" runat="server" Text='<%# Eval("per_stage_cost")%>' 
                                                 Width="65px" BorderColor="Black" BorderWidth="1px">
                                                </asp:TextBox></EditItemTemplate></asp:TemplateField>  --%>                                    
                                                




<%--<asp:TemplateField >
<ItemTemplate>
    <asp:CheckBox ID="chk_approve" runat="server" />
    
     

</ItemTemplate>

 <HeaderTemplate>
                            <asp:CheckBox ID="selectAll" runat="server" AutoPostBack="True" />
                              <%--  oncheckedchanged="selectAll_CheckedChanged"--%>  
                     <%--   </HeaderTemplate>
                        
</asp:TemplateField>--%>
                                                </Columns>
                                            
                           <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
    
  </asp:GridView> 
       </asp:Panel>

      <div runat="server" class="ddd">
            
                  <asp:Label ID="msg" runat="server" Text="" Width="150px" ForeColor="Green" ></asp:Label>
           

    </div>
   
     <%--    <div align="right" id="div_approve_not_approve" runat="server" >  
  <br />
     <asp:Button ID="btn_approve" runat="server" Text="Approve" 
       CssClass="myButton"  />--%>   <%--onclick="btn_approve_Click" --%>
       <%--  &nbsp;&nbsp;
           <asp:Button ID="btn_not_approved" runat="server" Text="Not approve" 
           CssClass="myButton"  />--%> <%--onclick="btn_not_approved_Click"--%> 
         
         


         <%--</div>--%>

  
         

</asp:Content>