<%@ page title="" language="C#" masterpagefile="~/html/MasterPage.master" autoeventwireup="true" inherits="html_ShowNotApprovedList, App_Web_chtwzywl" %>
<%@ MasterType VirtualPath="~/html/MasterPage.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="p2"  >
      <p style="font-family:Verdana; font-size:16px; margin-top:10px;color:Blue;font-weight:bold;padding-top:10px;">
     <b style="color:Blue;">&nbsp;&nbsp;&nbsp;&nbsp;Not approved sub stages list  </b>
      </p>
           </div>
<div>
<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="80%" 
         >
      <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") %>' ForeColor="#9900ff"></asp:Label>
           </ItemTemplate>
        </asp:TemplateField>
        
        <asp:TemplateField HeaderText="Project & Main Stage Name" ItemStyle-Width="200px">
        <ItemTemplate>
        <asp:Label ID="lbl_mantstage_name" runat="server" Text='<%# Eval("PName") %>' ForeColor="#9900ff"></asp:Label>
        <br />
            <asp:Label ID="lbl_project_name" runat="server" Text='<%# Eval("Mainstage_name") %>' Width="200px"></asp:Label>
            
            
      
        </ItemTemplate>
        </asp:TemplateField>
                       <asp:TemplateField HeaderText="Sub Stage Description" ItemStyle-Width="400px">
                                    <ItemTemplate>
                                       <asp:Label runat="server" ID="lbl_subid" Text='<%# Eval("substage_id") %>' Visible="false" ></asp:Label>
                                       <asp:Label ID="lblCName" runat="server" Text='<%# Eval("sub_stage_desc")%>' 
                                                Width="350px"></asp:Label></ItemTemplate>
                                                <EditItemTemplate>
                                          <asp:Label runat="server" ID="lbl_subid1" Text='<%# Eval("substage_id") %>' Visible="false" ></asp:Label>
                                          <asp:TextBox ID="txt_sub_desc" runat="server" Text='<%# Eval("sub_stage_desc")%>' 
                                                TextMode="MultiLine" Width="350px" BorderColor="Black" BorderWidth="1px"></asp:TextBox></EditItemTemplate></asp:TemplateField>
                                                
                                                <asp:TemplateField HeaderText="Start Date <br/>Completion Date" ItemStyle-Width="80px">
                                    <ItemTemplate>
                                       
                                            <asp:Label ID="lbl_startdate" runat="server" Text='<%# Eval("startdate_DATE")%>' 
                                                Width="80px"></asp:Label>
                                                <br />
                                                <asp:Label ID="lbl_pdc" runat="server" Text='<%# Eval("pdc1_DATE")%>' Enabled="true"
                                                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="40px">
                                    <ItemTemplate>
                                       <center>
                                            <asp:Label ID="lbl_totaldays" runat="server" Text='<%# Eval("total_days")%>' 
                                                Width="40px"  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>
                                               </asp:TemplateField>
                                                <asp:TemplateField HeaderText="%" ItemStyle-Width="60px">
                                    <ItemTemplate>
                                       
                                            <asp:Label ID="lbl_sub_percentage" runat="server" Text='<%# Eval("substage_percentages")%>' 
                                                Width="40px"  align="right"></asp:Label></ItemTemplate>
                                                </asp:TemplateField>
                                                

<asp:TemplateField HeaderText="Reason for not approved" >
<ItemTemplate>
<asp:Label ID="lbl_resion" runat="server" Text='<%# Eval("resion_for_not_approv") %>' Width="180px"></asp:Label>
</ItemTemplate>
</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>

</div>


</asp:Content>

