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

<%@ Register Assembly="AjaxControlToolkit" TagPrefix="asp" Namespace="AjaxControlToolkit" %>
<%@ 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>

           .overlay
        {
            position: fixed;
            top: 0px;
            left: 0px;
            z-index: 0;
            height: 100%;
            width: 100%;
            top: 0;
            background-color: White;
            filter: alpha(opacity=60);
            opacity: 0.9;
            -moz-opacity: 1;
        }
        
        .LoadingDivCss
        {
            margin: 0;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-right: -50%;
            transform: translate(-50%, -50%);
        }
        
        .LoadingImgCss
        {
            height: 100px;
            width: 100px;
        }

        * {
            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;
        }

        .ButtonSearch {
            background: #ffc108;
            margin: 0;
            font-family: Circular Std Book;
            font-size: 14px;
            line-height: inherit;
            border-width: thin;
            border-color: #212529;
            border-radius: 2px;
            color: #212529;
        }
    </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>
    <%--MODAL CSS--%>
    <style>
        /* The Modal (background) */
        .modalCss {
            display: none; /* Hidden by default */
            position: fixed; /* Stay in place */
            z-index: 1; /* Sit on top */
            padding-top: 70px; /* Location of the box */
            left: 0;
            top: 0;
            width: 100%; /* Full width */
            height: 100%; /* Full height */
            overflow: auto; /* Enable scroll if needed */
            background-color: rgb(0,0,0); /* Fallback color */
            background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
        }

        .modal-dialogCss {
            margin-top: 30px;
        }

        /* Modal Content */
        .modal-contentCss {
            /*background-color: #fefefe;
            margin: auto;
            border: 1px solid #888;
            width: 80%;
            height: 70%;*/
            background-color: #fefefe;
            margin: auto;
            width: 1200px;
            height: 800px;
            border-radius: 3px;
        }

        /* The Close Button */
        .close {
            color: #aaaaaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }

            .close:hover, .close:focus {
                color: #000;
                text-decoration: none;
                cursor: pointer;
            }

        .column {
            float: left;
            width: 40%;
            padding: 16px;
            height: auto; /* Should be removed. Only for demonstration */
        }

        /* Clear floats after the columns */
        .row:after {
            content: "";
            display: table;
            clear: both;
        }
    </style>
    <script type="text/javascript">


        //Search Modifier
        function ShowModalModifier() {
            var modal = document.getElementById("myModal");
            modal.style.display = "block";
        }

        function CloseModalModifier() {
            var modal = document.getElementById("myModal");
            modal.style.display = "none";
        }



        //Search Inventory/
        function ShowModal() {
            var modal = document.getElementById("myModalSearch");
            modal.style.display = "block";
        }

        function CloseModal() {
            var modal = document.getElementById("myModalSearch");
            modal.style.display = "none";
        }

        //Search Condimentgroup
        function ShowModalCondimentGroup() {
            var modal = document.getElementById("myModalSearchCondimentGroup");
            modal.style.display = "block";
        }

        function CloseModalCondimentGroup() {
            var modal = document.getElementById("myModalSearchCondimentGroup");
            modal.style.display = "none";
        }


        function SearchIdentifier(Value) {

            document.getElementById("h5Header").innerHTML = Value;

        }

    </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="d-flex justify-content-end align-items-center mb-3">
            <!-- Label -->
            <label for="cmbBranches" class="form-label mb-0 me-2">Branch</label>

            <!-- Optional alias label -->
            <asp:Label ID="Label5" runat="server" CssClass="text-muted me-2" />

            <!-- Dropdown with auto width -->
            <asp:DropDownList ID="cmbBranches" runat="server"
                CssClass="form-select"
                AutoPostBack="true"
                Style="width: 250px;"
                OnSelectedIndexChanged="cmbBranches_SelectedIndexChanged" />
           </div>



            <div class="row">
                <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="">
                        <div class="">
                            <div class="form-row" style="display: none">
                                <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>
                                </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">
                                    <h7 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">MODIFIER &nbsp;&nbsp;
                                      
                                         <asp:Button ID="btnClear" runat="server" CssClass="btn btn-primary" BorderStyle="None" Text="Add New" OnClick="btnClear_click" />
                                        <button type="button" class="btn btn-warning" onclick="ShowModalModifier()">
                                            Search
                                        </button>

                                    </h7>
                                    <div class="card-body">
                                        <div class="row" style="height: 600px;">
                                            <div class="column" style="background-color: White; width: 10%;">
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        <asp:Label ID="lblModifierControlID" runat="server" Text=""></asp:Label>
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        STEP 1
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        LEVEL 1
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        LEVEL 2
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        LEVEL 3
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        LEVEL 4
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        LEVEL 5
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        LEVEL 6
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        LEVEL 7
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        LEVEL 8
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        LEVEL 9
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        PROMOTION LEVEL
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="column" style="background-color: White; width: 20%">
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        TYPE
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbStep1" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbStep1_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Inventory" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Category" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="Group1" Value="3"></asp:ListItem>
                                                        <asp:ListItem Text="Group2" Value="4"></asp:ListItem>
                                                        <asp:ListItem Text="Group3" Value="5"></asp:ListItem>
                                                        <asp:ListItem Text="Group4" Value="6"></asp:ListItem>
                                                        <asp:ListItem Text="Group5" Value="7"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbLevel1" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel1_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbLevel2" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel2_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbLevel3" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel3_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbLevel4" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel4_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbLevel5" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel5_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbLevel6" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel6_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbLevel7" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel7_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbLevel8" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel8_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbLevel9" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel9_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:DropDownList ID="cmbLevel10" runat="server" Width="100%" Height="70%" AutoPostBack="true"
                                                        OnSelectedIndexChanged="cmbLevel10_SelectedIndexChanged">
                                                        <asp:ListItem Text="Select 1" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Condiment Group" Value="8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="column" style="background-color: White; width: 8%;">
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnStep1" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnStep_Click" OnClientClick="SearchIdentifier('Inventory');" />
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel1" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnLevel1_click" OnClientClick="SearchIdentifier('Condiment Group');" />
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <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: 9%">
                                                    <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: 9%">
                                                    <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: 9%">
                                                    <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 style="height: 9%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel6" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnLevel6_click" />
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel7" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnLevel7_click" />
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel8" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnLevel8_click" />
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel9" runat="server" Text="LINK" Width="100%" Height="90%" CssClass="btn btn-primary"
                                                            OnClick="btnLevel9_click" />
                                                    </label>
                                                </div>
                                                <div style="height: 9%">
                                                    <label for="validationCustom03">
                                                        <asp:Button ID="btnLevel10" runat="server" Text="LINK" Width="100%" Height="90%"
                                                            CssClass="btn btn-primary" OnClick="btnLevel10_click" />
                                                    </label>
                                                </div>
                                            </div>
                                            <%--  <div class="column" style="background-color: White; width: 10%">
                                                  
                                            </div>--%>
                                            <div class="column" style="background-color: White; 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: 9%; 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: 9%; 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: 9%; 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: 9%; 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: 9%; 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: 9%; 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 style="height: 9%; text-align: center;">
                                                    <asp:Label ID="lblLevel6ID" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblLevel6Desc" runat="server" Text=""></asp:Label>
                                                </div>
                                                <div style="height: 9%; text-align: center;">
                                                    <asp:Label ID="lblLevel7ID" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblLevel7Desc" runat="server" Text=""></asp:Label>
                                                </div>
                                                <div style="height: 9%; text-align: center;">
                                                    <asp:Label ID="lblLevel8ID" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblLevel8Desc" runat="server" Text=""></asp:Label>
                                                </div>
                                                <div style="height: 9%; text-align: center;">
                                                    <asp:Label ID="lblLevel9ID" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblLevel9Desc" runat="server" Text=""></asp:Label>
                                                </div>
                                                <div style="height: 9%; text-align: center;">
                                                    <asp:Label ID="lblLevel10ID" runat="server" Text="" Visible="false"></asp:Label>
                                                    <asp:Label ID="lblLevel10Desc" runat="server" Text=""></asp:Label>
                                                </div>
                                            </div>
                                            <div class="column" style="background-color: White; width: 10%">
                                                <div style="height: 9%">
                                                    <asp:Label ID="Label3" runat="server" Text="" Visible="true">MIN</asp:Label>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMinStep1" runat="server" Width="50%" Visible="false"></asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMin1" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMin2" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMin3" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMin4" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMin5" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMin6" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMin7" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMin8" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMin9" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMin10" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="column" style="background-color: White; width: 10%">
                                                <div style="height: 9%">
                                                    <asp:Label ID="Label4" runat="server" Text="" Visible="true">MAX</asp:Label>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMaxStep1" runat="server" Width="50%" Visible="false"></asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMax1" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMax2" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMax3" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMax4" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMax5" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMax6" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMax7" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMax8" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMax9" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="txtMax10" runat="server" Width="50%" Height="70%" MaxLength="2" onkeydown="return (!(event.keyCode>=65) && event.keyCode!=32);" Style="text-align: center;">0</asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="column" style="background-color: White; width: 10%">
                                                <div style="height: 9%;text-align:center">
                                                    <asp:Label ID="Label6" runat="server" Text="" Visible="true">Upgrade</asp:Label>
                                                </div>
                                                <div style="height: 9%">
                                                    <asp:TextBox ID="TextBox1" runat="server" Width="50%" Visible="false"></asp:TextBox>
                                                </div>
                                                <div style="height: 9%;text-align:center;">
                                                    <asp:CheckBox ID="chkupgrade1" runat="server"
                                                        AutoPostBack="True"
                                                        TextAlign="Right"/>
                                                </div>
                                                <div style="height: 9%;text-align:center" >
                                                    <asp:CheckBox ID="chkupgrade2" runat="server"
                                                        AutoPostBack="True"
                                                        TextAlign="Right"/>
                                                </div>
                                                <div style="height: 9%;text-align:center;">
                                                    <asp:CheckBox ID="chkupgrade3" runat="server"
                                                        AutoPostBack="True"
                                                        TextAlign="Right"/>
                                                </div>
                                                <div style="height: 9%;text-align:center;">
                                                    <asp:CheckBox ID="chkupgrade4" runat="server"
                                                        AutoPostBack="True"
                                                        TextAlign="Right"/>
                                                </div>
                                                <div style="height: 9%;text-align:center;">
                                                    <asp:CheckBox ID="chkupgrade5" runat="server"
                                                        AutoPostBack="True"
                                                        TextAlign="Right"/>
                                                </div>
                                                <div style="height: 9%;text-align:center;">
                                                    <asp:CheckBox ID="chkupgrade6" runat="server"
                                                        AutoPostBack="True"
                                                        TextAlign="Right"/>
                                                </div>
                                                <div style="height: 9%;text-align:center;">
                                                    <asp:CheckBox ID="chkupgrade7" runat="server"
                                                        AutoPostBack="True"
                                                        TextAlign="Right"/>
                                                </div>
                                                <div style="height: 9%;text-align:center;">
                                                    <asp:CheckBox ID="chkupgrade8" runat="server"
                                                        AutoPostBack="True"
                                                        TextAlign="Right"/>
                                                </div>
                                                <div style="height: 9%;text-align:center;">
                                                    <asp:CheckBox ID="chkupgrade9" runat="server"
                                                        AutoPostBack="True"
                                                        TextAlign="Right"/>
                                                </div>
                                                <div style="height: 9%;text-align:center;">
                                                    <asp:CheckBox ID="chkupgrade10" runat="server"
                                                        AutoPostBack="True"
                                                        TextAlign="Right"/>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                             

                                    <br />
                                </div>
                                <div style="padding: 8px; text-align: right;">

                                    <asp:Button ID="btnSaveModifier" runat="server" class="btn btn-primary" Text="Save"
                                        OnClick="btnSaveModifier_click" />
                                    <asp:Button ID="btnDelete" runat="server" class="btn btn-danger" Text="Delete"
                                        OnClick="btnDelete_Click" OnClientClick="return confirm('Are you sure you want to delete this modifier?');" />
                                </div>
                                <div class="card" style="display: none;">
                                    <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">SELECTION</h5>
                                    <div class="card-body">
                                        <div class="table-responsive">
                                            <h4>
                                                <asp:Label ID="lblHeader" runat="server" Text="111111"></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="500px" 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="false" PageSize="150" BackColor="White" AllowSorting="true"
                                                                BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" Height="250px">
                                                                <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" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblID" runat="server" Text='<%#Eval("row1") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="30%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblName" runat="server" Text='<%#Eval("row2") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Desc" ItemStyle-Width="40%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblDesc" runat="server" Text='<%#Eval("row3") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerStyle CssClass="gridview"></PagerStyle>
                                                                <FooterStyle BackColor="#006699" ForeColor="White"></FooterStyle>
                                                                <HeaderStyle BackColor="LightBlue" 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; font-size: 14px; color: #F8F9FA">Modifier List</h5>
                                    <%-- <div class="card-body">
                                        <div>
                                            <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="70%" 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="180px">
                                                                    <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>
                                                                        <asp:TemplateField HeaderText="ProcessType6" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessType6" runat="server" Text='<%#Eval("ProcessType6") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessName6" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessName6" runat="server" Text='<%#Eval("ProcessName6") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessMin6" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessMin6" runat="server" Text='<%#Eval("ProcessMin6") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessMax6" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ProcessMax6" runat="server" Text='<%#Eval("ProcessMax6") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessType7" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessType7" runat="server" Text='<%#Eval("ProcessType7") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessName7" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessName7" runat="server" Text='<%#Eval("ProcessName7") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessMin7" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessMin7" runat="server" Text='<%#Eval("ProcessMin7") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessMax7" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ProcessMax7" runat="server" Text='<%#Eval("ProcessMax7") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessType8" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessType8" runat="server" Text='<%#Eval("ProcessType8") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessName8" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessName8" runat="server" Text='<%#Eval("ProcessName8") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessMin8" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessMin8" runat="server" Text='<%#Eval("ProcessMin8") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessMax8" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ProcessMax8" runat="server" Text='<%#Eval("ProcessMax8") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessType9" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessType9" runat="server" Text='<%#Eval("ProcessType9") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessName9" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessName9" runat="server" Text='<%#Eval("ProcessName9") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessMin9" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessMin9" runat="server" Text='<%#Eval("ProcessMin9") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessMax9" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ProcessMax9" runat="server" Text='<%#Eval("ProcessMax9") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessType10" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessType10" runat="server" Text='<%#Eval("ProcessType10") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessName10" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessName10" runat="server" Text='<%#Eval("ProcessName10") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessMin10" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblProcessMin10" runat="server" Text='<%#Eval("ProcessMin10") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ProcessMax10" Visible="true" ItemStyle-Width="15%">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ProcessMax10" runat="server" Text='<%#Eval("ProcessMax10") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                    <PagerStyle CssClass="gridview"></PagerStyle>
                                                                    <FooterStyle BackColor="#006699" ForeColor="White"></FooterStyle>
                                                                    <HeaderStyle BackColor="LightBlue" 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 style="padding: 8px;">
                                                <asp:Button ID="btnUpdate" runat="server" class="btn btn-primary" Text="Confirm"
                                                    OnClick="btnUpdate_Click" />
                                            </div>
                                        </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>
            <div class="modalCss" id="myModalSearch">
                <div class="modal-dialogCss">
                    <div class="modal-contentCss" style="width: 60%">
                        <%-- <div class="modal-header">
                            <button type="button" class="close" onclick="CloseModal()" data-dismiss="modal">
                                &times;</button>
                        </div>--%>
                        <div class="modal-body" style="padding: 0px;">
                            <div class="card">
                                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA" id="h5Header">Inventory List
                                    <button type="button" class="close" style="color: White; opacity: 1;" onclick="CloseModal()"
                                        data-dismiss="modal">
                                        &times;</button></h5>
                                <div class="card-body">
                                    <div class="row">
                                        <div class="column">
                                            <label for="validationCustom03">
                                                Search Type
                                            </label>
                                            
                                            <asp:DropDownList ID="cmbSearch" runat="server" Width="100%" Height="35px" AutoPostBack="false">
                                                <asp:ListItem Text="ID" Value="ID"></asp:ListItem>
                                                <asp:ListItem Text="Name" Value="Name"></asp:ListItem>
                                                <asp:ListItem Text="Description" Value="Desc"></asp:ListItem>

                                            </asp:DropDownList>
                                            <div style="margin-top: 8px">
                                                <asp:Button ID="btnApplySearch" runat="server" class="btn btn-primary" Text="Apply"
                                                    OnClick="btnApplySearch_Click" />
                                                <%----%>
                                            </div>
                                        </div>
                                        <div class="column">
                                            <label for="validationCustom03">
                                                Enter Description
                                                <div style="padding-top: 5px">
                                                    <asp:TextBox ID="txtInput" runat="server" class="form-control" Width="320px"> </asp:TextBox>
                                                </div>
                                            </label>
                                        </div>
                                    </div>

                                    <div style="height: 100%">
                                        <div class="table-responsive" style="overflow: hidden;">
                                            <label for="validationCustom03">
                                                Search Result:
                                            </label>
                                            <table id="Table2" class="table table-striped table-bordered second">
                                                <tbody>
                                                    <caption>
                                                        <asp:Panel ID="Panel1" runat="server" BackColor="white" Height="520px" ScrollBars="Auto">
                                                            <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"
                                                                AllowPaging="false" PageSize="150" BackColor="White" AllowSorting="true" BorderColor="#CCCCCC"
                                                                BorderStyle="None" BorderWidth="1px" CellPadding="3" Width="100%">
                                                                <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" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblID" runat="server" Text='<%#Eval("row1") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="30%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblName" runat="server" Text='<%#Eval("row2") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Desc" ItemStyle-Width="40%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblDesc" runat="server" Text='<%#Eval("row3") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerStyle CssClass="gridview"></PagerStyle>
                                                                <FooterStyle BackColor="#006699" ForeColor="White"></FooterStyle>
                                                                <HeaderStyle BackColor="LightBlue" 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>
                            </div>
                        </div>
                        <div class="modal-footer" style="border: none; padding: 2px 0 6px 0">
                            <div style="padding: 8px; text-align: right">
                                <asp:Button ID="Button1" runat="server" class="btn btn-primary" Text="Confirm" OnClick="btnSelect_Click" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modalCss" id="myModalSearchCondimentGroup">
                <div class="modal-dialogCss">
                    <div class="modal-contentCss" style="width: 60%">
                        <%-- <div class="modal-header">
                            
                        </div>--%>
                        <div class="modal-body" style="padding: 0px;">
                            <div class="card">
                                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA" id="h1">CondimentGroup List
                                    <button type="button" class="close" style="color: White; opacity: 1;" onclick="CloseModalCondimentGroup()">
                                        &times;</button></h5>
                                <div class="card-body">
                                    <div class="row">
                                        <div class="column">
                                            <label for="validationCustom03">
                                                Condiment Group Name
                                            </label>
                                            <div style="padding-top: 5px">
                                                <asp:TextBox ID="txtCondimentGroupName" runat="server" class="form-control" Width="320px"> </asp:TextBox>
                                            </div>
                                            <div style="margin-top: 8px">
                                                <asp:Button ID="btnApplySearchCondimentGroup" runat="server" class="btn btn-primary"
                                                    Text="Apply" OnClick="btnApplySearchCondimentGroup_Click" />
                                                <%----%>
                                            </div>
                                        </div>
                                        <div class="column">
                                            <%-- <label for="validationCustom03">
                                                Enter Description
                                                <div style="padding-top: 5px">
                                                    <asp:TextBox ID="TextBox1" runat="server" class="form-control" Width="320px"> </asp:TextBox>
                                                </div>
                                            </label>--%>
                                        </div>
                                    </div>
                                    <div>
                                    <br />

                                        <div class="table-responsive" style="height: 500px; overflow: hidden;">
                                            <label for="validationCustom03">
                                                Search Result:
                                            </label>
                                             <br />
                                            <table id="Table3" class="table table-striped table-bordered second">
                                                <tbody>
                                                    <caption>
                                                        <asp:Panel ID="Panel3" runat="server" BackColor="white" Height="400px" ScrollBars="Auto">
                                                            <asp:GridView ID="GrdCondimentGroup" 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"
                                                                AllowPaging="false" PageSize="150" BackColor="White" AllowSorting="true" BorderColor="#CCCCCC"
                                                                BorderStyle="None" BorderWidth="1px" CellPadding="3" Width="100%">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="10%">
                                                                        <ItemTemplate>
                                                                            <asp:CheckBox ID="chkSelectCondimentGroup" runat="server" onclick="CheckOne(this)"
                                                                                OnCheckedChanged="chkSelectCondimentGroup_CheckedChanged" AutoPostBack="true" />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="ID" ItemStyle-Width="15%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblID" runat="server" Text='<%#Eval("row1") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="30%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblName" runat="server" Text='<%#Eval("row2") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Desc" ItemStyle-Width="40%">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblDesc" runat="server" Text='<%#Eval("row3") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerStyle CssClass="gridview"></PagerStyle>
                                                                <FooterStyle BackColor="#006699" ForeColor="White"></FooterStyle>
                                                                <HeaderStyle BackColor="LightBlue" 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>
                            </div>
                             <div class="modal-footer" style="border: none; padding: 2px 0 6px 0">
                                 <div style="padding: 8px; text-align: right">
                                     <asp:Button ID="Button3" runat="server" class="btn btn-primary" Text="Confirm" OnClick="btnUpdate_Click" />
                                 </div>
                             </div>
                        </div>
                       
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    
    <asp:UpdateProgress ID="UpdateProgress" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <div class="overlay">
                <div class="LoadingDivCss">
                    <img alt="" src="IMG/Spinner.gif" class="LoadingImgCss" />
                </div>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>

    <div class="modalCss" id="myModal">
        <div class="modal-dialogCss">
            <div class="modal-contentCss" style="width: 90%">
                <!-- Modal Header -->
                <%-- <div class="modal-header" style="padding:  2px 20px 2px 20px;">
                <h4 class="modal-title">
                        Modal Heading</h4>
                   
                </div>--%>
                <!-- Modal body -->
                <div class="modal-body" style="padding: 0px;">
                    <div class="card">
                        <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">Modifier List
                            <button type="button" class="close" style="color: White; opacity: 1;" onclick="CloseModalModifier()">
                                &times;</button></h5>
                        <div class="card-body">
                            <div class="row">
                                <div class="column">
                                 



                                    <div class="row align-items-end">
                                        <div class="col-auto">
                                               <label for="validationCustom03">
                                                   Search Type 
                                               </label>
                                            <asp:DropDownList ID="cmbSearchOption" runat="server" CssClass="form-select">
                                                <asp:ListItem Value="0" Text="Select"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="Control Name"></asp:ListItem>
                                                <asp:ListItem Value="2" Text="Control Code"></asp:ListItem>
                                            </asp:DropDownList>
                                        </div>

                                        <div class="col-auto">
                                            <label for="txtInputModifier" class="form-label">Modifier Name</label>
                                            <asp:TextBox ID="txtInputModifier" runat="server" CssClass="form-control"></asp:TextBox>
                                        </div>
                                    </div>



                                    </div>


                                    <div style="margin-top: 8px">
                                        <asp:Button ID="btnApplySearchModifier" runat="server" class="btn btn-primary" Text="Apply"
                                            OnClick="btnApplySearchModifier_Click" />
                                        <%--    OnClick="btnApplySearch_Click" --%>
                                    </div>

                                </div>


                            <div>
                                <div class="table-responsive" style="height: 480px;">
                                    <label for="validationCustom03">
                                      <b>  Search Result:</b>
                                    </label>
                                    <br />
                                    <table id="example" class="table table-striped table-bordered second">
                                        <tbody>
                                            <caption>
                                                <asp:Panel ID="Panel2" runat="server" BackColor="white" Height="65%" 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"
                                                        AllowPaging="true" PageSize="150" BackColor="White" AllowSorting="true" BorderColor="#CCCCCC"
                                                        BorderStyle="None" BorderWidth="1px" CellPadding="3" Width="100%">
                                                        <Columns>
                                                            <asp:TemplateField ItemStyle-Width="10%">
                                                                <ItemTemplate>
                                                                    <asp:CheckBox ID="chkSelectMod" runat="server" onclick="CheckOne(this)" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ControlID" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblControlID" runat="server" Text='<%#Eval("ControlID") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ControlType" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblControlType" runat="server" Text='<%#Eval("ControlType") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ControlCode" Visible="true" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblControlCode" runat="server" Text='<%#Eval("ControlCode") %>'></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="false" 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="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMin1" runat="server" Text='<%#Eval("ProcessMin1") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMax1" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMax1" runat="server" Text='<%#Eval("ProcessMax1") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessType2" Visible="false" 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="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMin2" runat="server" Text='<%#Eval("ProcessMin2") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMax2" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ProcessMax2" runat="server" Text='<%#Eval("ProcessMax2") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessType3" Visible="false" 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="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMin3" runat="server" Text='<%#Eval("ProcessMin3") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMax3" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ProcessMax3" runat="server" Text='<%#Eval("ProcessMax3") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessType4" Visible="false" 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="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMin4" runat="server" Text='<%#Eval("ProcessMin4") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMax4" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ProcessMax4" runat="server" Text='<%#Eval("ProcessMax4") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessType5" Visible="false" 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="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMin5" runat="server" Text='<%#Eval("ProcessMin5") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMax5" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ProcessMax5" runat="server" Text='<%#Eval("ProcessMax5") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessType6" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessType6" runat="server" Text='<%#Eval("ProcessType6") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessName6" Visible="true" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessName6" runat="server" Text='<%#Eval("ProcessName6") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMin6" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMin6" runat="server" Text='<%#Eval("ProcessMin6") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMax6" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ProcessMax6" runat="server" Text='<%#Eval("ProcessMax6") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessType7" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessType7" runat="server" Text='<%#Eval("ProcessType7") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessName7" Visible="true" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessName7" runat="server" Text='<%#Eval("ProcessName7") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMin7" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMin7" runat="server" Text='<%#Eval("ProcessMin7") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMax7" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ProcessMax7" runat="server" Text='<%#Eval("ProcessMax7") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessType8" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessType8" runat="server" Text='<%#Eval("ProcessType8") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessName8" Visible="true" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessName8" runat="server" Text='<%#Eval("ProcessName8") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMin8" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMin8" runat="server" Text='<%#Eval("ProcessMin8") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMax8" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ProcessMax8" runat="server" Text='<%#Eval("ProcessMax8") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessType9" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessType9" runat="server" Text='<%#Eval("ProcessType9") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessName9" Visible="true" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessName9" runat="server" Text='<%#Eval("ProcessName9") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMin9" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMin9" runat="server" Text='<%#Eval("ProcessMin9") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMax9" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ProcessMax9" runat="server" Text='<%#Eval("ProcessMax9") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessType10" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessType10" runat="server" Text='<%#Eval("ProcessType10") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessName10" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessName10" runat="server" Text='<%#Eval("ProcessName10") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMin10" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lblProcessMin10" runat="server" Text='<%#Eval("ProcessMin10") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="ProcessMax10" Visible="false" ItemStyle-Width="15%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ProcessMax10" runat="server" Text='<%#Eval("ProcessMax10") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerStyle CssClass="gridview"></PagerStyle>
                                                        <FooterStyle BackColor="#006699" ForeColor="White"></FooterStyle>
                                                        <HeaderStyle BackColor="LightBlue" 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>
                    </div>



                
               </div>
                

                <div class="modal-footer justify-content-end">
      <asp:Button ID="btnUpdate" runat="server" class="btn btn-primary me-2" Text="Confirm"
    OnClick="btnUpdate_Click" />
        
      </div>
                
            </div>


        </div>

        
 <%--  <div class="modal-footer" style="border: none; padding: 1px 1px 1px 0px;">
   <div style="padding: 8px; text-align: right; margin-top: -11px;">
       <asp:Button ID="btnUpdate" runat="server" class="btn btn-primary" Text="Confirm"
           OnClick="btnUpdate_Click" />
   </div>

   </div>--%>

    </div>


 <script src="https://code.jquery.com/jquery-3.7.0.min.js"></script>
 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css?v=1.1" rel="stylesheet" />

    <!-- Bootstrap 5 -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" />

<!-- Optional Bootstrap Icons -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet" />



</asp:Content>
