<%@ Page Title="Condiment Group" Language="C#" MasterPageFile="~/SunMaster.Master"
    AutoEventWireup="true" CodeBehind="Condimentgroup.aspx.cs" Inherits="SUNWEB.Condimentgroup" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        *
        {
            box-sizing: border-box;
        }
        
        /* Create three equal columns that floats next to each other */
        .column
        {
            float: left; /* width: 20%;*/
            padding: 10px;
            height: 450px; /* Should be removed. Only for demonstration */
        }
        
        /* Clear floats after the columns */
        .row:after
        {
            content: "";
            display: table;
            clear: both;
        }
    </style>
    <script type="text/javascript">
        function CheckOne(obj) {

            var grid = obj.parentNode.parentNode.parentNode;
            var inputs = grid.getElementsByTagName("input");
            for (var i = 0; i < inputs.length; i++) {
                if (inputs[i].type == "checkbox") {
                    if (obj.checked && inputs[i] != obj && inputs[i].checked) {
                        inputs[i].checked = false;
                    }
                }
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel runat="server" ID="updatepanel1" UpdateMode="Conditional">
        <ContentTemplate>
            <table style="margin-left: 1%; width: 98%;">
                <tr>
                    <td style="font-size: large; width: 50%; font-family: 'Open Sans', sans-serif; font-weight: bolder;">
                        MODIFIER
                    </td>
                </tr>
            </table>
            <div class="row">
                <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="card">
                        <div class="card-body">
                            <div class="form-row">
                                <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                                    <caption>
                                        <%--    <label for="validationCustom03">
                                                      FROM DATE
                                                   </label>--%>
                                        <asp:TextBox ID="txtStartDt" class="form-control" runat="server" Visible="false"></asp:TextBox>
                                        <%--  <asp:CalendarExtender ID="calFirstDueDate"  Format="yyyy-MM-dd" runat="server"  TargetControlID="txtStartDt"  PopupPosition="BottomLeft" FirstDayOfWeek="Sunday" Visible="false" ></asp:CalendarExtender>                         --%>
                                    </caption>
                                </div>
                                <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                                    <%--<label for="validationCustom03"> TO DATE
                                                 </label>
                                    --%>
                                    <asp:TextBox ID="txtEndDt" class="form-control" runat="server" Visible="false"></asp:TextBox>
                                    <%--<asp:CalendarExtender ID="CalendarExtender1" Format="yyyy-MM-dd" runat="server"  TargetControlID="txtEndDt"  PopupPosition="BottomLeft" FirstDayOfWeek="Sunday" Visible="false" ></asp:CalendarExtender>                         --%>
                                </div>
                                <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                                    <label for="validationCustom03">
                                        <asp:Label ID="lblBranchAliasName" ForeColor="Blue" runat="server" Text="Branch Name"></asp:Label></label>
                                    <asp:DropDownList ID="cmbBranches" CssClass="custom-select" runat="server" AutoPostBack="true"
                                        OnSelectedIndexChanged="cmbBranches_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </div>
                                <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                                    <asp:Button ID="btnGetReports" runat="server" Text="Apply" CssClass="btn btn-primary"
                                        OnClick="btnGetReports_Click" OnClientClick="return validate()" Visible="false" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="simple-card" role="tabpanel" id="TabsID">
                        <ul class="nav nav-tabs" id="myTab5">
                            <li id="liBasic" class="nav-item" runat="server"><a runat="server" class="nav-link active border-left-0"
                                id="aBasic" data-toggle="tab" href="#hBasic" role="tab" aria-controls="acBasic"
                                aria-selected="true">BASIC </a></li>
                            <li id="liList" class="nav-item" runat="server"><a id="aList" runat="server" data-toggle="tab"
                                class="nav-link" aria-controls="acList" href="#hList">MODIFIER LIST</a> </li>
                        </ul>
                        <div class="tab-content" id="myTabContent5">
                            <asp:Panel class="tab-pane fade show active" ClientIDMode="Static" ID="hBasic" role="tabpanel"
                                aria-labelledby="acBasic" runat="server">
                                <div class="card">
                                    <h5 class="card-header" style="background-color: #4c4c4c; color: White;">
                                        Modifier</h5>
                                    <div class="card-body">
                                        <div class="row">
                                            <div class="column" style="background-color: #aaa; width: 10%;">
                                                <div style="height: 10%">
                                                    <label for="validationCustom03">
                                                        <asp:Label ID="lblModifierControlID" runat="server" Text=""></asp:Label>
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        STEP 1
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        LEVEL 1
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        LEVEL 2
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        LEVEL 3
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        LEVEL 4
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        LEVEL 5
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="column" style="background-color: #bbb; width: 30%">
                                                <div style="height: 10%">
                                                    <label for="validationCustom03">
                                                        TYPE
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:DropDownList ID="cmbStep1" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbStep1_SelectedIndexChanged">
                                                        <asp:ListItem Text="None" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Inventory" Value="1"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:DropDownList ID="cmbLevel1" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel1_SelectedIndexChanged">
                                                        <asp:ListItem Text="None" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:DropDownList ID="cmbLevel2" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel2_SelectedIndexChanged">
                                                        <asp:ListItem Text="None" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:DropDownList ID="cmbLevel3" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel3_SelectedIndexChanged">
                                                        <asp:ListItem Text="None" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:DropDownList ID="cmbLevel4" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel4_SelectedIndexChanged">
                                                        <asp:ListItem Text="None" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:DropDownList ID="cmbLevel5" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel5_SelectedIndexChanged">
                                                        <asp:ListItem Text="None" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="column" style="background-color: #ccc; width: 8%;">
                                                <div style="height: 10%">
                                                    <label for="validationCustom03">
                                                       
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnStep1" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnStep_Click" />
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel1" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnLevel1_click" />
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel2" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnLevel2_click" />
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel3" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnLevel3_click" />
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel4" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnLevel4_click" />
                                                    </label>
                                                </div>
                                                <div style="height: 15%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel5" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnLevel5_click" />
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="column" style="background-color: #bbb; width: 30%">
                                                <div style="height: 10%; text-align: center;">
                                                    <asp:Label ID="Label1" runat="server" Text="" Visible="true">DESCRIPTION</asp:Label>
                                                    <asp:Label ID="Label2" runat="server" Text=""  Visible="false" Width="100%"> </asp:Label>
                                                </div>
                                                <div style="height: 15%; text-align: center;">
                                                    <asp:Label ID="lblStep1Barcode" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblStep1Desc" runat="server" Text="" Width="100%"> </asp:Label>
                                                </div>
                                                <div style="height: 15%; text-align: center;">
                                                    <asp:Label ID="lblLevel1ID" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblLevel1Desc" runat="server" Text="" Width="100%"></asp:Label>
                                                </div>
                                                <div style="height: 15%; text-align: center;">
                                                    <asp:Label ID="lblLevel2ID" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblLevel2Desc" runat="server" Text=""></asp:Label>
                                                </div>
                                                <div style="height: 15%; text-align: center;">
                                                    <asp:Label ID="lblLevel3ID" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblLevel3Desc" runat="server" Text=""></asp:Label>
                                                </div>
                                                <div style="height: 15%; text-align: center;">
                                                    <asp:Label ID="lblLevel4ID" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblLevel4Desc" runat="server" Text=""></asp:Label>
                                                </div>
                                                <div style="height: 15%; text-align: center;">
                                                    <asp:Label ID="lblLevel5ID" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblLevel5Desc" runat="server" Text=""></asp:Label>
                                                </div>
                                            </div>
                                            <div class="column" style="background-color: #bbb; width: 10%">
                                                <div style="height: 10%">
                                                   <asp:Label ID="Label3" runat="server" Text="" Visible="true">MIN</asp:Label>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMinStep1" runat="server" Width="50%" Visible="false"></asp:TextBox>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMin1" runat="server" Width="50%" Height="70%" >0</asp:TextBox>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMin2" runat="server" Width="50%" Height="70%">0</asp:TextBox>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMin3" runat="server" Width="50%" Height="70%">0</asp:TextBox>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMin4" runat="server" Width="50%" Height="70%">0</asp:TextBox>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMin5" runat="server" Width="50%" Height="70%">0</asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="column" style="background-color: #bbb; width: 10%">
                                                <div style="height: 10%">
                                                    <asp:Label ID="Label4" runat="server" Text="" Visible="true">MAX</asp:Label>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMaxStep1" runat="server" Width="50%" Visible="false"></asp:TextBox>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMax1" runat="server" Width="50%" Height="70%">0</asp:TextBox>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMax2" runat="server" Width="50%" Height="70%">0</asp:TextBox>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMax3" runat="server" Width="50%" Height="70%" >0</asp:TextBox>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMax4" runat="server" Width="50%" Height="70%">0</asp:TextBox>
                                                </div>
                                                <div style="height: 15%">
                                                    <asp:TextBox ID="txtMax5" runat="server" Width="50%" Height="70%">0</asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div style="padding: 8px;">
                                        <asp:Button ID="btnSaveModifier" runat="server" class="btn btn-primary" Text="Save Modifier"
                                            OnClick="btnSaveModifier_click" />
                                    </div>
                                    <br />
                                </div>
                                <div class="card">
                                    <h5 class="card-header" style="background-color: #4c4c4c; color: White;">
                                        SELECTION</h5>
                                    <div class="card-body">
                                        <div class="table-responsive">
                                            <h4>
                                                <asp:Label ID="lblHeader" runat="server" Text=""></asp:Label>
                                            </h4>
                                            <table id="Table1" class="table table-striped table-bordered second" style="width: 100%">
                                                <tbody>
                                                    <caption>
                                                        <asp:Panel ID="Panel1" runat="server" BackColor="white" Height="180px" ScrollBars="Auto"
                                                            Width="1500px">
                                                            <asp:GridView ID="GrdLinkView" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                                                Font-Size="11px" HeaderStyle-BackColor="RoyalBlue" EmptyDataText="No Record! "
                                                                DataKeyNames="row1" FooterStyle-BackColor="Green" FooterStyle-ForeColor="white"
                                                                Width="920px" AllowPaging="true" PageSize="150" BackColor="White" AllowSorting="true"
                                                                BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" Height="180px">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="10%">
                                                                        <ItemTemplate>
                                                                            <asp:CheckBox ID="chkSelect" runat="server" onclick="CheckOne(this)" OnCheckedChanged="chkSelect_CheckedChanged"
                                                                                AutoPostBack="true" />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ID" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblID" runat="server" Text='<%#Eval("row1") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="40%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblName" runat="server" Text='<%#Eval("row2") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerStyle CssClass="gridview"></PagerStyle>
                                                                <FooterStyle BackColor="#006699" ForeColor="White"></FooterStyle>
                                                                <HeaderStyle BackColor="White" Font-Bold="True" ForeColor="Black"></HeaderStyle>
                                                                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                                                                <RowStyle ForeColor="#000066" />
                                                                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                                                                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                                                                <SortedAscendingHeaderStyle BackColor="#007DBB" />
                                                                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                                                                <SortedDescendingHeaderStyle BackColor="#00547E" />
                                                            </asp:GridView>
                                                        </asp:Panel>
                                                    </caption>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                            <asp:Panel class="tab-pane fade" ClientIDMode="Static" ID="hList" role="tabpanel"
                                aria-labelledby="acList" runat="server">
                                <div class="card">
                                    <h5 class="card-header" style="background-color: #4c4c4c; color: White;">
                                        Modifier List</h5>
                                    <div class="card-body">
                                        <div class="table-responsive">
                                            <table id="example" class="table table-striped table-bordered second" style="width: 100%">
                                                <tbody>
                                                    <caption>
                                                        <asp:Panel ID="Panel2" runat="server" BackColor="white" Height="180px" ScrollBars="Auto"
                                                            Width="1500px">
                                                            <asp:GridView ID="grdModList" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                                                Font-Size="11px" HeaderStyle-BackColor="RoyalBlue" EmptyDataText="No Record! "
                                                                DataKeyNames="ControlID" FooterStyle-BackColor="Green" FooterStyle-ForeColor="white"
                                                                Width="920px" AllowPaging="true" PageSize="150" BackColor="White" AllowSorting="true"
                                                                BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" Height="500px">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="10%">
                                                                        <ItemTemplate>
                                                                            <asp:CheckBox ID="chkSelectMod" runat="server" onclick="CheckOne(this)" />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ControlID" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblControlID" runat="server" Text='<%#Eval("ControlID") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ControlType" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblControlType" runat="server" Text='<%#Eval("ControlType") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ControlName" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblControlName" runat="server" Text='<%#Eval("ControlName") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessType1" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessType1" runat="server" Text='<%#Eval("ProcessType1") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessName1" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessName1" runat="server" Text='<%#Eval("ProcessName1") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessMin1" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessMin1" runat="server" Text='<%#Eval("ProcessMin1") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessMax1" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessMax1" runat="server" Text='<%#Eval("ProcessMax1") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessType2" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessType2" runat="server" Text='<%#Eval("ProcessType2") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessName2" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessName2" runat="server" Text='<%#Eval("ProcessName2") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessMin2" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessMin2" runat="server" Text='<%#Eval("ProcessMin2") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessMax2" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ProcessMax2" runat="server" Text='<%#Eval("ProcessMax2") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessType3" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessType3" runat="server" Text='<%#Eval("ProcessType3") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessName3" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessName3" runat="server" Text='<%#Eval("ProcessName3") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessMin3" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessMin3" runat="server" Text='<%#Eval("ProcessMin3") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessMax3" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ProcessMax3" runat="server" Text='<%#Eval("ProcessMax3") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessType4" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessType4" runat="server" Text='<%#Eval("ProcessType4") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessName4" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessName4" runat="server" Text='<%#Eval("ProcessName4") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessMin4" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessMin4" runat="server" Text='<%#Eval("ProcessMin4") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessMax4" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ProcessMax4" runat="server" Text='<%#Eval("ProcessMax4") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessType5" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessType5" runat="server" Text='<%#Eval("ProcessType5") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessName5" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessName5" runat="server" Text='<%#Eval("ProcessName5") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessMin5" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblProcessMin5" runat="server" Text='<%#Eval("ProcessMin5") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ProcessMax5" Visible="true" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ProcessMax5" runat="server" Text='<%#Eval("ProcessMax5") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </asp:Panel>
                                                    </caption>
                                                </tbody>
                                            </table>
                                        </div>
                                        <div style="padding: 8px;">
                                            <asp:Button ID="btnUpdate" runat="server" class="btn btn-primary" Text="Confirm" OnClick="btnUpdate_Click" />
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <h4>
                    &nbsp;<asp:Label ID="lblGreeting" runat="server"></asp:Label></h4>
                <%--<asp:Button
            ID="btnPdf" runat="server" Text="PDF" ToolTip="To Export the Report Click Here"
            CssClass="btn btn-secondary" onclick="btnPdf_Click"/>--%>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
