<%@ page language="C#" autoeventwireup="true" masterpagefile="~/html/MasterPage.master" inherits="html_problemshow, 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/bootstrap.css" rel="stylesheet" type="text/css" />
         <link href="../CSS/ForButton.css"type="text/css" rel="Stylesheet" />
             <link href="../CSS/Widthset.css" rel="stylesheet" type="text/css" />
      <script type="text/javascript" src="../js/JScript.js"></script>
    <link href="../css/buttoncss.css" type="text/css" rel="Stylesheet"/>
 <style type="text/css">
     .shadow_five222 {
            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%;
        }
         .shadow_five223 {
            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:100%;
        }
     .modelbackground
        {
        	background-color:Gray;
	        filter:alpha(opacity=70);
	        opacity:0.7;
        }
         .categorypanel
        {
        	background-color:White;
        	border:2px solid black;
        	
        		}  
     .Label
    {

       background-image: linear-gradient(to bottom, #fcfcfc, #f7f7f7 3%, #ff9966 12%,#55002b 90%, #55002b);
-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:25px;

}
     
        .style1
        {
            height: 6%;
        }
        
            .shadow_five2 {
             background-color: #E1E1E1 ;
             -moz-border-radius: 10px;
             -webkit-border-radius: 10px;
             -o-border-radius: 10px;
             -ms-border-radius: 10px;
             border-radius: 10px;
             -moz-box-shadow: 3px 3px 5px #B1A59A;
             -webkit-box-shadow: 3px 3px 5px #B1A59A;
             -o-box-shadow: 3px 3px 5px #B1A59A;
             -ms-box-shadow: 3px 3px 5px #B1A59A;
             box-shadow: 3px 3px 5px #B1A59A;
             padding-top : auto;
             height:auto;
         }
              .cssPager table
        {
        	margin:7px 0px;
        	color:Blue;
        }   
        .cssPager span
        {        	
        	background-color:#F2F2F2;
        	border:1px solid #999999;
        	padding:1px 4px;
        	color:Blue;
        	font-weight:bold;
        }
        .cssPager td
        {
        	padding:0px 4px;           		
        }
        
                .cssLoadingTimer
        {        	
        	/* filter:alpha(opacity=90);       	
        	opacity:0.7; */        	
        	text-align:center; 
        	position:fixed; 
        	margin:5% 0% 0px 30%; 
        	   
        	width:300px;
        	height:20%;
        	background-color:#ffebcc;
        	display:inline;
            z-index:999;
            margin-top:200px;
            align:center;
        	
        
        }
     
    </style>
    <style type="text/css">
       
.help_div
{
    box-shadow: 10px 10px 5px #888888;
   
      width:90px;
      display: block;
    height:auto;
       z-index: 2;
        opacity: 1;
         font-size: 12px;
         font-family:Verdana;
          border: 2px solid Blue; 
          padding: 5px;
           position: absolute;         
         line-height:20px;           
            float:right;       
          
     background-color:#ffffb3;
  
     text-align:center;
     margin-left:-100px;
    
}
   .help_div p
    {
    
      font-weight:bold;
      width:100px;
      margin-left:10px;
      
        }
        


     .shadow_five222 {
            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%;
        }
       .buttongreen
{
    color:green;  
    -moz-box-shadow:inset 0px 1px 0px 0px #54a3f7;
        -webkit-box-shadow:inset 0px 1px 0px 0px #54a3f7;
        box-shadow:inset 0px 1px 0px 0px #54a3f7; 
        
        
      
    background-color:#66adff;
        
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        border-radius:3px;
        
        border:1px solid #124d77;
        
        display:inline-block;
        color:#ffffff;
        font-family:arial;
        font-size:13px;
        font-weight:bold;
        padding:6px 10px;
        text-decoration:none;
        
        text-shadow:0px 1px 0px #154682;
}
        .modelbackground1
        {
        	background-color:Gray;
	        filter:alpha(opacity=70);
	        opacity:0.7;
        }
         .categorypanel1
        {
        	background-color:#FFF0DB;
        	border:2px solid black;
        	
        		}
         .shadow_five223 {
            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:100%;
        }
     .modelbackground
        {
        	background-color:Gray;
	        filter:alpha(opacity=70);
	        opacity:0.7;
        }
         .categorypanel
        {
        	background-color:White;
        	border:2px solid black;
        	
        		}  
     .Label
    {

       background-image: linear-gradient(to bottom, #fcfcfc, #f7f7f7 3%, #ff9966 12%,#55002b 90%, #55002b);
-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:25px;

}
     
            .shadow_five2 {
             background-color: #E1E1E1 ;
             -moz-border-radius: 10px;
             -webkit-border-radius: 10px;
             -o-border-radius: 10px;
             -ms-border-radius: 10px;
             border-radius: 10px;
             -moz-box-shadow: 3px 3px 5px #B1A59A;
             -webkit-box-shadow: 3px 3px 5px #B1A59A;
             -o-box-shadow: 3px 3px 5px #B1A59A;
             -ms-box-shadow: 3px 3px 5px #B1A59A;
             box-shadow: 3px 3px 5px #B1A59A;
             padding-top : auto;
             height:200px;
         }
              .cssPager table
        {
        	margin:7px 0px;
        	color:Blue;
        }   
        .cssPager span
        {        	
        	background-color:#F2F2F2;
        	border:1px solid #999999;
        	padding:1px 4px;
        	color:Blue;
        	font-weight:bold;
        }
        .cssPager td
        {
            
        	padding:0px 4px;           		
        }
         
        
        
        
                .cssLoadingTimer
        {        	
        	/* filter:alpha(opacity=90);       	
        	opacity:0.7; */        	
        	text-align:center; 
        	position:fixed; 
        	margin:5% 0% 0px 30%; 
        	   
        	width:300px;
        	height:20%;
        	background-color:#ffebcc;
        	display:inline;
            z-index:999;
            margin-top:200px;
            align:center;
        	
        
        }

     
        .style2
        {
            width: 200px;
        }

 .shadow_five_edit_list1 {
         
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            -o-border-radius: 10px;
            -ms-border-radius: 10px;
            border-radius: 10px;
            -moz-box-shadow: 3px 3px 5px #B1A59A;
            -webkit-box-shadow: 3px 3px 5px #B1A59A;
            -o-box-shadow: 3px 3px 5px #B1A59A;
            -ms-box-shadow: 3px 3px 5px #B1A59A;
            box-shadow: 3px 3px 5px #B1A59A;
            margin-bottom: 10px;
            width:100%;
        }
     
    </style>
    
     <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
               
     <script type="text/javascript">
         $().ready(function () {
           //  alert("ss");
             $("[id*=btn_Add]").click(function () {
                 $find("show_add_popup").show();
                 $("#show_Popup").show();
             });


             $("[id*=lnk_close_pop]").click(function () {
                 $find("show_add_popup").hide();
             });


             $("[id*=btnSubmit_visit_details]").click(function () {
                 $find("show_add_popup").show();
                 $("#show_Popup").show();
                 var msg = $('#txt_msg').val();
                 $.ajax({
                     type: "post",
                     url: "problemshow.aspx/add",
                     data: "{Message:'" + msg + "'}",
                     contentType: "application/json; charset=utf-8",
                     dataType: "json",
                     success: function (response) {

                         alert("Message Added successfully.");
                     
                     },
                     failure: function (response) {
                        
                     }
                 });
             });
         });
          </script>
</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;"> Problem/Feedback </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%" 
           
            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>
                                             <asp:TemplateField HeaderText="Employee Name" ItemStyle-Width="80px">
                                    <ItemTemplate>
                                      
                                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("EName")%>' 
                                                align="Center" Width="80px" ></asp:Label>
                                                </ItemTemplate>
                                             </asp:TemplateField>
              <asp:TemplateField HeaderText="Remark" ItemStyle-Width="80px">
                                    <ItemTemplate>
                                      
                                            <asp:Label ID="lblremark" runat="server" Text='<%# Eval("Remark")%>' 
                                                align="Center" Width="80px" ></asp:Label>
                                                </ItemTemplate>
                                             </asp:TemplateField>
                                                </Columns><Columns>
      
                            <asp:TemplateField ItemStyle-Width="10%">
                            <ItemTemplate>
                                <a href="#" id="btn_Add" >Action</a>
                            
                            
                            </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:Button ID="btn_popup21" runat="server" style="display:none;" Text="Popup" />
             <cc1:ModalPopupExtender ID="model_popup_show_cust_person_info" runat="server" 
                     PopupControlID="pnlCrDetails" BehaviorID="show_add_popup"
                    TargetControlID="btn_popup21" BackgroundCssClass="modelbackground1">
             </cc1:ModalPopupExtender>
        <asp:Panel ID="pnlCrDetails" runat="server" CssClass="categorypanel1" Width="45%" 
               style="margin-left:0px;margin-top:10px;height:400px;overflow:auto;"> 
        
<table width="100%" style="border:Solid 2px #D46900;width:100%; height:450px"cellpadding="0" cellspacing="0">
<tr style="background-image:url(../images/header.gif)">
<td style="height:8px; color:White; font-weight:bold;padding:3px; font-size:larger; font-family:Calibri" align="left">

    <asp:Label ID="lbl_main_sub_stage_add_heading" runat="server" Text=""></asp:Label>

</td>
<td style=" color:White; font-weight:bold;padding:3px; font-size:larger" align="right">  
<a href="#" id="lnk_close_pop">  <img src="../images/Close.gif" alt="Close" style="border :0px" align="right"/> </a>

  </td>
</tr>
<tr>
<td colspan="2">

  <div id="show_Popup">
 
 
     <table width="100%" >
       
        <tr>
        <td colspan="4" align="center">
         <asp:Label ID="Label72" runat="server" Text="Message:"  Font-Bold="true" Font-Size="14px" Font-Names="Verdana"
            ForeColor="#cc0000" ></asp:Label>
            </td>
             <td >
            <asp:TextBox ID="txt_msg" runat="server" TextMode="MultiLine"  Width="400px" Height="100px"></asp:TextBox>
          </td></tr>
          <tr>
        <td>
         </td></tr>
         <tr>
          <td colspan="4" align="center">
             <input type="button" value="Submit" id="btnSubmit_visit_details"  class="btn btn-primary"  validationgroup="1" />
          </td>
       </tr>
       </table>
     
   
       </div>
   
       </td></tr></table>

    </asp:Panel>  

</asp:Content>

