<%@ page title="" language="C#" masterpagefile="~/html/MasterPage.master" autoeventwireup="true" inherits="html_TaskUpdate_Delete_approval, 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;
            -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%;
        }
 .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:350px;
        }
        
        .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:350px;
        }
</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;">Deleted task list for approval  </b>
      </p>
           </div>
           
<div>
<br />

   <asp:GridView runat="server" ID="gv_palnningdeatils" AutoGenerateColumns="False"  AllowPaging="true" 
            RowStyle-Height="30" 
            Font-Names="Verdana" Font-Size="12px"  PageSize="20"
            Width="100%" 
            onrowdeleting="gv_palnningdeatils_RowDeleting"   onrowupdating="gv_palnningdeatils_RowUpdating" 
            onpageindexchanging="gv_palnningdeatils_PageIndexChanging" onrowdatabound="gv_palnningdeatils_RowDataBound" 
            ><%--DataSourceID="SqlDataSource4"--%>
      <RowStyle BackColor="#ffc9bb" ForeColor="#333333" />
        <Columns>
        <asp:TemplateField HeaderText="Sr.No" ItemStyle-Width="5%">
        <ItemTemplate>
        <center>
        <asp:Label runat="server" ID="lbl_srno" Text='<% # Eval("Row")%>'></asp:Label>
        </center>
        </ItemTemplate>
        </asp:TemplateField>        
       
       <asp:TemplateField ItemStyle-Width="150px" HeaderText="Project Name">
<ItemTemplate>
<asp:Label runat="server" ID="lbl_sub_sub_stageproject_name" Text='<% # Eval("PName") %>' Width="200px"></asp:Label>

</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="300px" HeaderText="Activity name <br/> Sub Stage">
<ItemTemplate>
<asp:Label runat="server" ID="lbl_sub_sub_stagemain_stagename" Text='<% # Eval("Mainstage_name") %>' ForeColor="#cc00ff0" Width="300px"></asp:Label>
<br />
<asp:Label runat="server" ID="lbl_stage_sub_a_name" Text='<% # Eval("sub_stage_desc") %>' Width="300px"></asp:Label>

</ItemTemplate>
</asp:TemplateField>

                       <asp:TemplateField HeaderText="Tasks details" ItemStyle-Width="35%">
                                    <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")%>' 
                                               ></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></asp:TemplateField>
                                                <asp:TemplateField HeaderText="Total Days" ItemStyle-Width="8%">
                                    <ItemTemplate>
                                       <center>
                                            <asp:Label ID="lbl_totaldays" runat="server" Text='<%# Eval("total_days")%>' 
                                               ></asp:Label></ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Cost" ItemStyle-Width="80px">
                                    <ItemTemplate>
                                      
                                            <asp:Label ID="lbl_percost" runat="server" Text='<%# Eval("mainstage_cost")%>' 
                                                align="right" Width="80px" ></asp:Label>
                                                </ItemTemplate>
                                             </asp:TemplateField>
                                           
                                                </Columns><Columns>
      
                            <asp:TemplateField ItemStyle-Width="10%" >
                            <ItemTemplate>
                              <asp:LinkButton ID="lnkDelete" runat="server" CommandName="Delete" Text="Approve" OnClientClick="javascript : return confirm('Do you really want to \ndelete the task?');">
                             </asp:LinkButton>
                             <br />  <br />
                            <asp:LinkButton ID="lnk_update" runat="server" CommandName="Update" Text="Not approve" OnClientClick="javascript : return confirm('Do you really want to \nNot approved the task?');">
                             </asp:LinkButton>
                            </ItemTemplate>
                      
                            </asp:TemplateField>
                            
                                                   
                            </Columns>
                             <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" CssClass="cssPager" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
    
    </asp:GridView>

</div>

</asp:Content>

