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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .progress-barlogo {
            background-color: #5969ff;
            justify-content: center;
            color: #fff;
            text-align: center;
        }

        .progress-barlogo5 
        {
            background-color: #5969ff;
            justify-content: center;
            color: #fff;
            text-align: center;
        }

         .progress-barlogo6 {
     background-color: #5969ff;
     justify-content: center;
     color: #fff;
     text-align: center;
 }


        .progress-barAds {
            background-color: #5969ff;
            justify-content: center;
            color: #fff;
            text-align: center;
        }
    </style>

    <style type="text/css">
    .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;
        _smoz-opacity: 1;
    }

    .LoadingDivCss {
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%);
    }

    .LoadingImgCss {
        height: 100px;
        width: 100px;
    }

    .label5{
          display: inline-block;
          vertical-align: middle;
          margin: 10px 0;
         }
</style>

    <script type="text/jscript">
        function MyFunction() {
            alert('This task is already Cancelled.')
        }
    </script>
    <%--  Image Saving into S3 Bucket using Ajax --%>
    <script src="https://code.jquery.com/jquery-1.11.0.min.js" type="text/javascript"></script>
    <script type="text/javascript">


        // This is for landing page 
        $(function () {
            // Modified this  Line :20-08-21  
            $("body").on("click", "#uploadBTN", function ()
            //$('#uploadBTN').on('click', function ()
            {
                if ($('#fileUploadnew').val() == "") {
                    alert("No file selected!");
                    return false;
                }

                var fd = new FormData();
                fd.append("", fileUploadnew.files[0]);
                var clientname = $('#<%=lblclientname.ClientID %>').html();           // Pass the cm_id from Pms Record 
                var branchname = $('#<%=lblstorename.ClientID %>').html();            // Pass the BranchAlias Name 
                var filename = "LandingImage";                                       //  Pass the Barcode 
                console.log(clientname);
                console.log(branchname);
                console.log(filename);

                $.ajax({
                    xhr: function () {
                        var xhr = new window.XMLHttpRequest();
                        xhr.upload.addEventListener("progress", function (evt) {
                            if (evt.lengthComputable) {
                                var percentComplete = ((evt.loaded / evt.total) * 100);
                                $(".progress-bar").width(percentComplete + '%');
                                $(".progress-bar").html(percentComplete + '%');
                            }
                        }, false);
                        return xhr;
                    },

                    url: 'https://www.suntoyo.online/api/FileService/Upload',
                    // url: 'http://54.251.229.140:4545/api/FileService/Upload',
                    //  # Diable Test Url
                    //  # Later Enable  Server url  Here 

                    type: 'POST',
                    mimeType: "multipart/form-data",
                    data: fd,
                    crossDomain: true,
                    success: function (data) {
                        // $('#output').html(data);

                        console.log(data);
                        //$('#lbldbpath').text(data);
                        //  $("#lbldbpath").html(data);

                        $('#<%=lbldbpath.ClientID%>').html(data);

                        $("#hdnPath").val(data);
                        console.log(data);
                    },
                    beforeSend: function (request) {
                        request.setRequestHeader("clientName", clientname);
                        request.setRequestHeader("fileName", filename);
                        request.setRequestHeader("branchName", branchname);
                        $(".progress-bar").width('0%');
                        $('#uploadStatus').html('<img src="images/loading.gif"/>');
                    },
                    /*
                    Bucket name should conform with DNS requirements:
                    - Should not contain uppercase characters
                    - Should not contain underscores (_)
                    - Should be between 3 and 63 characters long
                    - Should not end with a dash
                    - Cannot contain two, adjacent periods
                    - Cannot contain dashes next to periods (e.g., "my-.bucket.com" and "my.-bucket" are invalid)
                    */
                    cache: false,
                    contentType: false,
                    processData: false
                });

            });
        });

        //Karthik added on 20-Nov-2024
        // This is for icrm company Log   - Icrm Company Logo 

        $(function () {
            $("body").on("click", "#uploadICRMLogoBTN", function ()
            //$('#uploadBTN').on('click', function ()
            {
                if ($('#fileUploadICRMLogo').val() == "") {
                    alert("No file selected!");
                    return false;
                }

                var fd = new FormData();
                fd.append("", fileUploadICRMLogo.files[0]);
                var clientname = $('#<%=lblclientname.ClientID%>').html();
                var branchname = $('#<%=lblstorename.ClientID%>').html();
                var filename = "icrmcompanylogo";
                console.log(clientname);
                console.log(branchname);
                console.log(filename);
                $.ajax({
                    xhr: function () {
                        var xhr = new window.XMLHttpRequest();
                        xhr.upload.addEventListener("progress", function (evt) {
                            if (evt.lengthComputable) {
                                var percentComplete = ((evt.loaded / evt.total) * 100);
                                $(".progress-barlogo5").width(percentComplete + '%');
                                $(".progress-barlogo5").html(percentComplete + '%');
                            }
                        }, false);
                        return xhr;
                    },

                    url: 'https://www.suntoyo.online/api/FileService/Upload',
                    // url: 'http://54.251.229.140:4545/api/FileService/Upload',
                    //  # Diable Test Url
                    //  # Later Enable  Server url  Here 

                    type: 'POST',
                    mimeType: "multipart/form-data",
                    data: fd,
                    crossDomain: true,
                    success: function (data) {
                        console.log(data);
                        $('#<%=lbldbpath.ClientID%>').html(data);
                        $("#hdnPath").val(data);
                        console.log(data);
                    },
                    beforeSend: function (request) {
                        request.setRequestHeader("clientName", clientname);
                        request.setRequestHeader("fileName", filename);
                        request.setRequestHeader("branchName", branchname);
                        $(".progress-barlogo5").width('0%');
                        $('#uploadStatus').html('<img src="images/loading.gif"/>');
                    },
                    /*
                    Bucket name should conform with DNS requirements:
                    - Should not contain uppercase characters
                    - Should not contain underscores (_)
                    - Should be between 3 and 63 characters long
                    - Should not end with a dash
                    - Cannot contain two, adjacent periods
                    - Cannot contain dashes next to periods (e.g., "my-.bucket.com" and "my.-bucket" are invalid)
                    */
                    cache: false,
                    contentType: false,
                    processData: false
                });
            });
        });


        // Karthik added on 20-Nov-2025

        // This method  for Icrm company Background Image : ICM APP 
        $(function () {
            $("body").on("click", "#uploadICRMBackgroundBTN", function ()
            //$('#uploadBTN').on('click', function ()
            {
                if ($('#fileUploadICRMbackground').val() == "") {
                    alert("No file selected!");
                    return false;
                }

                var fd = new FormData();
                fd.append("", fileUploadICRMbackground.files[0]);
                var clientname = $('#<%=lblclientname.ClientID%>').html();
                var branchname = $('#<%=lblstorename.ClientID%>').html();
                var filename = "icrmcompanyBG";
                console.log(clientname);
                console.log(branchname);
                console.log(filename);
                $.ajax({
                    xhr: function () {
                        var xhr = new window.XMLHttpRequest();
                        xhr.upload.addEventListener("progress", function (evt) {
                            if (evt.lengthComputable) {
                                var percentComplete = ((evt.loaded / evt.total) * 100);
                                $(".progress-barlogo6").width(percentComplete + '%');
                                $(".progress-barlogo6").html(percentComplete + '%');
                            }
                        }, false);
                        return xhr;
                    },

                    url: 'https://www.suntoyo.online/api/FileService/Upload',
                    
                    //  # Diable Test Url
                    //  # Later Enable  Server url  Here 

                    type: 'POST',
                    mimeType: "multipart/form-data",
                    data: fd,
                    crossDomain: true,
                    success: function (data) {
                        console.log(data);
                        $('#<%=lbldbpath.ClientID%>').html(data);
                        $("#hdnPath").val(data);
                        console.log(data);
                    },
                    beforeSend: function (request) {
                        request.setRequestHeader("clientName", clientname);
                        request.setRequestHeader("fileName", filename);
                        request.setRequestHeader("branchName", branchname);
                        $(".progress-barlogo6").width('0%');
                        $('#uploadStatus').html('<img src="images/loading.gif"/>');
                    },
                    /*
                    Bucket name should conform with DNS requirements:
                    - Should not contain uppercase characters
                    - Should not contain underscores (_)
                    - Should be between 3 and 63 characters long
                    - Should not end with a dash
                    - Cannot contain two, adjacent periods
                    - Cannot contain dashes next to periods (e.g., "my-.bucket.com" and "my.-bucket" are invalid)
                    */
                    cache: false,
                    contentType: false,
                    processData: false
                });
            });
        });



         // This method  for company Logo - Weborder Icrm  

        $(function () {
            $("body").on("click", "#uploadLogoBTN", function ()
            //$('#uploadBTN').on('click', function ()
            {
                if ($('#fileUploadLogo').val() == "") {
                    alert("No file selected!");
                    return false;
                }

                var fd = new FormData();
                fd.append("", fileUploadLogo.files[0]);
                var clientname = $('#<%=lblclientname.ClientID%>').html();
         var branchname = $('#<%=lblstorename.ClientID%>').html();
         var filename = "CompanyLogo";
         console.log(clientname);
         console.log(branchname);
         console.log(filename);
         $.ajax({
             xhr: function () {
                 var xhr = new window.XMLHttpRequest();
                 xhr.upload.addEventListener("progress", function (evt) {
                     if (evt.lengthComputable) {
                         var percentComplete = ((evt.loaded / evt.total) * 100);
                         $(".progress-barlogo").width(percentComplete + '%');
                         $(".progress-barlogo").html(percentComplete + '%');
                     }
                 }, false);
                 return xhr;
             },

             url: 'https://www.suntoyo.online/api/FileService/Upload',
             // url: 'http://54.251.229.140:4545/api/FileService/Upload',
             //  # Diable Test Url
             //  # Later Enable  Server url  Here 

             type: 'POST',
             mimeType: "multipart/form-data",
             data: fd,
             crossDomain: true,
             success: function (data) {
                 console.log(data);
                 $('#<%=lbldbpath.ClientID%>').html(data);
                 $("#hdnPath").val(data);
                 console.log(data);
             },
             beforeSend: function (request) {
                 request.setRequestHeader("clientName", clientname);
                 request.setRequestHeader("fileName", filename);
                 request.setRequestHeader("branchName", branchname);
                 $(".progress-barlogo").width('0%');
                 $('#uploadStatus').html('<img src="images/loading.gif"/>');
             },
             /*
             Bucket name should conform with DNS requirements:
             - Should not contain uppercase characters
             - Should not contain underscores (_)
             - Should be between 3 and 63 characters long
             - Should not end with a dash
             - Cannot contain two, adjacent periods
             - Cannot contain dashes next to periods (e.g., "my-.bucket.com" and "my.-bucket" are invalid)
             */
             cache: false,
             contentType: false,
             processData: false
         });
          });
         });


        $(function () {
            $("body").on("click", "#uploadAdsBTN", function ()
            //$('#uploadBTN').on('click', function ()
            {
                if ($('#fileUploadads').val() == "") {
                    alert("No file selected!");
                    return false;
                }

                var fd = new FormData();
                fd.append("", fileUploadads.files[0]);
                var clientname = $('#<%=lblclientname.ClientID%>').html();
                var branchname = $('#<%=lblstorename.ClientID%>').html();
                var filename = "Advertisement";
                console.log(clientname);
                console.log(branchname);
                console.log(filename);
                $.ajax({
                    xhr: function () {
                        var xhr = new window.XMLHttpRequest();
                        xhr.upload.addEventListener("progress", function (evt) {
                            if (evt.lengthComputable) {
                                var percentComplete = ((evt.loaded / evt.total) * 100);
                                $(".progress-barAds").width(percentComplete + '%');
                                $(".progress-barAds").html(percentComplete + '%');
                            }
                        }, false);
                        return xhr;
                    },

                    url: 'https://www.suntoyo.online/api/FileService/Upload',
                    // url: 'http://54.251.229.140:4545/api/FileService/Upload',
                    //  # Diable Test Url
                    //  # Later Enable  Server url  Here 

                    type: 'POST',
                    mimeType: "multipart/form-data",
                    data: fd,
                    crossDomain: true,
                    success: function (data) {
                        console.log(data);
                        $('#<%=lbldbpath.ClientID%>').html(data);
                        $("#hdnPath").val(data);
                        console.log(data);
                    },
                    beforeSend: function (request) {
                        request.setRequestHeader("clientName", clientname);
                        request.setRequestHeader("fileName", filename);
                        request.setRequestHeader("branchName", branchname);
                        $(".progress-barAds").width('0%');
                        $('#uploadStatus').html('<img src="images/loading.gif"/>');
                    },
                    /*
                    Bucket name should conform with DNS requirements:
                    - Should not contain uppercase characters
                    - Should not contain underscores (_)
                    - Should be between 3 and 63 characters long
                    - Should not end with a dash
                    - Cannot contain two, adjacent periods
                    - Cannot contain dashes next to periods (e.g., "my-.bucket.com" and "my.-bucket" are invalid)
                    */
                    cache: false,
                    contentType: false,
                    processData: false
                });
            });
        });


  //  $('btn')
 //let transferno = $(this).closest('tr').find('td:eq(1)').text();
        $(function () {
            $("[id*=grdIniSettings]").find("[id*=btnUpdate]").click(function () {      
 if(index == 13 || index == 14 || index == 15 || index == 16){ 
                var message = $(this).attr("id");         
                let index = $(this).closest("tr").index();            
                let selectedcolor = $('#<%=grdIniSettings.ClientID%>').find("tr:eq(" + index + ")").find("td:eq(1)").find("#colorpicker").val();
                //console.log(selectedcolor)
                $('#<%=grdIniSettings.ClientID%>').find("tr:eq(" + index + ")").find("td:eq(1)").find("input").val(selectedcolor);                  
}
            });
        });
        

        
    </script>
    <script language="javascript" type="text/javascript">

        function validate() {

            if (document.getElementById("<%=txtnTakeawaycaption.ClientID %>").value == "") {
                alert("Enter the  Takeaway caption");
                   document.getElementById("<%=txtnTakeawaycaption.ClientID %>").focus();
                return false;
            }

            if (document.getElementById("<%=txtnvalue.ClientID %>").value == "") {
                alert("Enter the  value ");
                   document.getElementById("<%=txtnvalue.ClientID %>").focus();
                   return false;
               }
            if (document.getElementById("<%=txtntaxflag.ClientID %>").value == "") {
                alert("Enter the Taxflag");
                document.getElementById("<%=txtntaxflag.ClientID %>").focus();
                return false;
            }


           }

    </script>


    <%--End --%>
</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%;">
                <td style="max-width: 50%; min-width: 50%; text-align: right; padding-bottom: 7px;">
                    <label for="validationCustom03">
                        Branch
                    </label>
                    
                    <asp:DropDownList ID="cmbBranches" CssClass="form-select w-25" runat="server" AutoPostBack="true"
                        OnSelectedIndexChanged="cmbBranches_SelectedIndexChanged" >
                    </asp:DropDownList>
                </td>
            </table>--%>


    <div class="container-fluid">
    <div class="row mb-3 justify-content-end">
    <div class="col-md-6 text-end">
            <label for="cmbBranches" class="form-label">
                Branch
            </label>
            <asp:DropDownList ID="cmbBranches" runat="server"
                CssClass="form-select w-25 d-inline-block"
                AutoPostBack="true"
                OnSelectedIndexChanged="cmbBranches_SelectedIndexChanged">
            </asp:DropDownList>
        </div>
     </div>
   </div>

            <div class="row" style="display: none;">
                <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="card">
                        <div class="card-body">
                            <div class="form-row">
                                <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                                    <caption>
                                        <label for="validationCustom03">
                                            FROM DATE
                                        </label>
                                        <asp:TextBox ID="txtStartDt" class="form-control" runat="server"></asp:TextBox>
                                        <asp:CalendarExtender ID="calFirstDueDate" Format="yyyy-MM-dd" runat="server" TargetControlID="txtStartDt"
                                            PopupPosition="BottomLeft" FirstDayOfWeek="Sunday"></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"></asp:TextBox>
                                    <asp:CalendarExtender ID="CalendarExtender1" Format="yyyy-MM-dd" runat="server" TargetControlID="txtEndDt"
                                        PopupPosition="BottomLeft" FirstDayOfWeek="Sunday"></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="Gray" runat="server" Text="Branch Name"></asp:Label></label>
                                    <%-- <asp:DropDownList ID="cmbBranches" CssClass="custom-select" runat="server" AutoPostBack="true"
                                        OnSelectedIndexChanged="cmbBranches_SelectedIndexChanged">
                                    </asp:DropDownList>--%>
                                </div>
                                <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                                    <asp:Button ID="btnGetReports" runat="server" Text="Apply" CssClass="btn btn-primary"
                                        OnClick="btnGetReports_Click" OnClientClick="return validate()" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="simple-card">   
                <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">INDEX PAGE &nbsp;&nbsp;
                </h5>


                <div class="card-body">
                    <br />
                    <h6>Landing Page Image</h6>
                    <div class="form-row">
                        <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <input type="file" id="fileUploadnew" accept="image/*" />
                            <button id="uploadBTN" type="button" value="Upload" onclick=" return validateFileUpload();">
                                Upload</button>
                            <br />
                            <div class="progress" style="margin: 10px; margin-left: -3px">
                                <div class="progress-bar">
                                </div>
                            </div>
                            <asp:Button ID="BtnSaveImage" runat="server" CssClass="btn btn-primary" Text="Save" OnClick="BtnSaveImage_Click" />
                        </div>
                        <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <asp:DataList ID="dtimg" runat="server">
                                <ItemTemplate>
                                    <div style="background: url('<%#Eval("iniValue")%>'); margin-left: 0px; width: 100px; height: 165px; background-size: cover; background-position: center; background-repeat: no-repeat;">
                                </ItemTemplate>
                            </asp:DataList>
                        </div>
                    </div>
                    
                    <h6>Company Logo</h6>
                    <div class="form-row">
                        <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <input type="file" id="fileUploadLogo" accept="image/*">
                            <button id="uploadLogoBTN" type="button" value="Upload" onclick="return ValidateFileUpload();">
                                Upload
                            </button>
                            <br />
                            <div class="progress" style="margin: 10px; margin-left: -3px;">
                                <div class="progress-barlogo">
                                </div>
                            </div>
                            <asp:Button ID="btnSaveImageLogo" runat="server" CssClass="btn btn-primary" Text="Save" OnClick="btnSaveImageLogo_Click" />
                        </div>
                        <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <asp:DataList ID="dtimglogo" runat="server">
                                <ItemTemplate>
                                    <div style="background: url('<%#Eval("iniValue")%>'); margin-left: 0px; width: 100px; height: 165px; background-size: cover; background-position: center; background-repeat: no-repeat;">
                                </ItemTemplate>
                            </asp:DataList>
                        </div>
                    </div>
                    
                    <h6>Advertisement Image</h6>
                    <div class="form-row">
                        <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <input type="file" id="fileUploadads" accept="image/*">
                            <button id="uploadAdsBTN" type="button" value="Upload" onclick="return ValidateFileUpload();">
                                Upload
                            </button>
                            <br />
                            <div class="progress" style="margin: 10px; margin-left: -3px;">
                                <div class="progress-barAds">
                                </div>
                            </div>
                            <asp:Button ID="btnSaveImageAds" runat="server" CssClass="btn btn-primary" Text="Save" OnClick="btnSaveImageAds_Click" />
                        </div>
                        <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <asp:DataList ID="dtimgAdv" runat="server">
                                <ItemTemplate>
                                    <div style="background: url('<%#Eval("iniValue")%>'); margin-left: 0px; width: 100px; height: 165px; background-size: cover; background-position: center; background-repeat: no-repeat;">
                                </ItemTemplate>
                            </asp:DataList>
                        </div>
                    </div>


                    <h6>ICRM Company Logo </h6>
                    <div class="form-row">
                        <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <input type="file" id="fileUploadICRMLogo" accept="image/*">
                            <button id="uploadICRMLogoBTN" type="button" value="Upload" onclick="return ValidateFileUpload();">
                                Upload
                            </button>
                            <br />
                            <div class="progress" style="margin: 10px; margin-left: -3px;">
                                <div class="progress-barlogo5">
                                </div>
                            </div>
                            <asp:Button ID="BtnICMSaveImageLogo" runat="server" CssClass="btn btn-primary" Text="Save" OnClick="BtnICMSaveImageLogo_Click" />
                        </div>
                        <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <asp:DataList ID="dtICRmimglogo" runat="server">
                                <ItemTemplate>
                                    <div style="background: url('<%#Eval("iniValue")%>'); margin-left: 0px; width: 100px; height: 165px; background-size: cover; background-position: center; background-repeat: no-repeat;">
                                </ItemTemplate>
                            </asp:DataList>
                        </div>
                    </div>


                      <h6>ICRM Company Background Image  </h6>
                  <div class="form-row">
                      <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                          <input type="file" id="fileUploadICRMbackground" accept="image/*">
                          <button id="uploadICRMBackgroundBTN" type="button" value="Upload" onclick="return ValidateFileUpload();">
                              Upload
                          </button>
                          <br />
                          <div class="progress" style="margin: 10px; margin-left: -3px;">
                              <div class="progress-barlogo6">
                              </div>
                          </div>
                          <asp:Button ID="BtnICMSaveImageBackground" runat="server" CssClass="btn btn-primary" Text="Save" OnClick="BtnICMSaveImageBackground_Click" />
                      </div>
                      <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                          <asp:DataList ID="dtICRmimgBg" runat="server">
                              <ItemTemplate>
                                  <div style="background: url('<%#Eval("iniValue")%>'); margin-left: 0px; width: 100px; height: 165px; background-size: cover; background-position: center; background-repeat: no-repeat;">
                              </ItemTemplate>
                          </asp:DataList>
                      </div>
                  </div>





                    <h6>Webordering Menu Creation </h6>
                    <div class="form-row">
                        <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <asp:Button ID="btnMenucreation" runat="server" CssClass="btn btn-primary" Text="Create" OnClick="btnMenucreation_Click" />
                        </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="lblIsWeborderingMenuCreated" ForeColor="Gray" runat="server"></asp:Label></label>
                        </div>
                    </div>

                    <%-- <h6>PriceFlag Create And Fix </h6>
                     <div class="form-row">
                         <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                             <asp:Button ID="btnPriceflagcreate" runat="server" CssClass="btn btn-primary" Text="Create" OnClick="btnPriceflagcreate_Click" />

                                 <asp:Button ID="btnPriceflagFix" runat="server" CssClass="btn btn-primary" Text="Priceflag Fix" OnClick="btnPriceflagFix_Click" />
                         </div>
                         <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                      
                         </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="Label1" ForeColor="Gray" runat="server"></asp:Label></label>
                         </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="Label2" ForeColor="Gray" runat="server" Text="Inventory Rows"></asp:Label>
                          </label> : <asp:Label ID="lblInventoryrows" ForeColor="Gray" runat="server" ></asp:Label>
                          </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="Label3" ForeColor="Gray" runat="server" Text="PriceFlag Rows"></asp:Label>
                          </label> : <asp:Label ID="lblPriceflagrows" ForeColor="Gray" runat="server" ></asp:Label>
                         </div>

                     </div>--%>

                    <h6 class="mb-3">PriceFlag Create And Fix</h6>

                <div class="form-row align-items-center">
                    <!-- Buttons -->
                    <div class="col-md-4 mb-2">
                        <asp:Button ID="btnPriceflagcreate" runat="server" CssClass="btn btn-primary mr-2" 
                            Text="Create" OnClick="btnPriceflagcreate_Click" />
                        <asp:Button ID="btnPriceflagFix" runat="server" CssClass="btn btn-warning" 
                            Text="Priceflag Fix" OnClick="btnPriceflagFix_Click" />
                    </div>

                <!-- Row Counters -->
                <div class="col-md-4 mb-2">
                    <span class="text-muted">Inventory Rows:</span>
                    <asp:Label ID="lblInventoryrows" CssClass="font-weight-bold text-dark" runat="server"></asp:Label>
                    <br />
                    <span class="text-muted">PriceFlag Rows:</span>
                    <asp:Label ID="lblPriceflagrows" CssClass="font-weight-bold text-dark" runat="server"></asp:Label>
                </div>
                    <!-- Status Message -->
                    <div class="col-md-4 mb-2">
                        <asp:Label ID="Label1" CssClass="text-muted" runat="server"></asp:Label>
                    </div>

                    
                </div>




                   

                    <div class="table-responsive" style="display: block">
                        <table id="Table1" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <asp:Panel ID="Panel1" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdIniIndex" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            OnRowCommand="grdIniIndex_RowCommand" DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdIniIndex_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="IDIndex" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblIniName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtIniValue" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                                        <asp:DropDownList ID="cmbindexini" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                        </asp:DropDownList>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateIndex" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                    </div>
                </div>
            </div>

            <div class="simple-card">
            <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">PRODUCT PAGE &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="example" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <asp:Panel ID="Panel" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdIniSettings" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            OnRowCommand="grdIniSettings_RowCommand" DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdIniSettings_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="ID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblFunctionName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtProductIniValue" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                                        <%-- <input type="color" id="colorpicker" name="color" pattern="^#+([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$" value="" class="d-none" runat="server"/> --%>



                                                        <input type="color" id="colorpicker" class="d-none" value='<%#Eval("IniValue") %>' style="height: 30px; width: 40px; border: none; -webkit-appearance: none;" />
                                                        <asp:DropDownList ID="cmbShow" CssClass="custom-select" runat="server" AutoPostBack="true">



                                                            <%--  <asp:ListItem Value="0">Name and Desc</asp:ListItem>
                                                      <asp:ListItem Value="1">Name</asp:ListItem>
                                                      <asp:ListItem Value="2">Description</asp:ListItem>--%>
                                                        </asp:DropDownList>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateProduct" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
         </div>
            <div class="simple-card">
               <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">VIEW CART PAGE &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="Table2" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <asp:Panel ID="Panel2" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdViewCart" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            OnRowCommand="grdViewCart_RowCommand" DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdViewCart_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblViewCartPromoID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblViewCartName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtViewCartShowCount" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;
                                                        <asp:CheckBox ID="chkAll" runat="server" Text="All" OnCheckedChanged="chkAll_Changed"
                                                            AutoPostBack="true" />
                                                        <asp:DropDownList ID="cmbViewCart" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                        </asp:DropDownList>
                                                        <%--   <asp:TextBox ID="txtIniValue" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>--%>
                                                        <%--<asp:Label ID="lblValue" runat="server" Text='<%#Eval("Value") %>'></asp:Label>--%>
                                                        <%--<asp:DropDownList ID="cmbShow" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                            <asp:ListItem Value="0">Name and Desc</asp:ListItem>
                                                            <asp:ListItem Value="1">Name</asp:ListItem>
                                                            <asp:ListItem Value="2">Description</asp:ListItem>
                                                        </asp:DropDownList>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server"  Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateViewCartPromoCount" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
         </div>
            <div class="simple-card">
                 <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">E-RECEIPT &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="table3" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <asp:Panel ID="Panel3" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdCharge" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" 
                                            BackColor="White" AllowSorting="false"  BorderColor="#CCCCCC"
                                            AlternatingRowStyle-BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                                            BorderStyle="None" 
                                            OnRowDataBound="grdCharge_RowDataBound" OnRowCommand="grdCharge_RowCommand">
                                            <%--OnRowDataBound="grdViewCart_RowDataBound"  OnRowCommand="grdViewCart_RowCommand" --%>
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblChargeID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblChargeName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtChargeIniValue" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;                                                      
                                                        <asp:DropDownList ID="cmbCharge" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                        </asp:DropDownList>

                                                        <%--   <asp:TextBox ID="txtIniValue" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>--%>
                                                        <%--<asp:Label ID="lblValue" runat="server" Text='<%#Eval("Value") %>'></asp:Label>--%>
                                                        <%--<asp:DropDownList ID="cmbShow" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                            <asp:ListItem Value="0">Name and Desc</asp:ListItem>
                                                            <asp:ListItem Value="1">Name</asp:ListItem>
                                                            <asp:ListItem Value="2">Description</asp:ListItem>
                                                        </asp:DropDownList>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server"  Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateChargeIniValue" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
          </div>
            <div class="simple-card">
             <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">EMAIL SETTING &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="tblEmailSetting" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <asp:Panel ID="Panel4" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdEmailSetting" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdEmailSetting_RowDataBound" OnRowCommand="grdEmailSetting_RowCommand">
                                            <%--OnRowDataBound="grdCharge_RowDataBound" OnRowCommand="grdCharge_RowCommand--%>
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblEmailSettingID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblEmailSettingName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="lblEmailSettingValue" runat="server" Width="100%" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;                                                      
                                                      <%--  <asp:DropDownList ID="cmbCharge" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                        </asp:DropDownList>--%>

                                                        <%--   <asp:TextBox ID="txtIniValue" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>--%>
                                                        <%--<asp:Label ID="lblValue" runat="server" Text='<%#Eval("Value") %>'></asp:Label>--%>
                                                        <%--<asp:DropDownList ID="cmbShow" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                            <asp:ListItem Value="0">Name and Desc</asp:ListItem>
                                                            <asp:ListItem Value="1">Name</asp:ListItem>
                                                            <asp:ListItem Value="2">Description</asp:ListItem>
                                                        </asp:DropDownList>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateEmailSettingIniValue" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
         </div>
            <div class="simple-card">
             <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">SMS SETTING &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="tblSMSSetting" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <asp:Panel ID="Panel5" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdSMSSetting" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdSMSSetting_RowDataBound" OnRowCommand="grdSMSSetting_RowCommand">
                                            <%--OnRowDataBound="grdCharge_RowDataBound" OnRowCommand="grdCharge_RowCommand--%>
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblSMSSettingID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblSMSSettingName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="lblSMSSettingValue" runat="server" Width="100%" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;                                                      
                                                      <%--  <asp:DropDownList ID="cmbCharge" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                        </asp:DropDownList>--%>

                                                        <%--   <asp:TextBox ID="txtIniValue" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>--%>
                                                        <%--<asp:Label ID="lblValue" runat="server" Text='<%#Eval("Value") %>'></asp:Label>--%>
                                                        <%--<asp:DropDownList ID="cmbShow" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                            <asp:ListItem Value="0">Name and Desc</asp:ListItem>
                                                            <asp:ListItem Value="1">Name</asp:ListItem>
                                                            <asp:ListItem Value="2">Description</asp:ListItem>
                                                        </asp:DropDownList>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server"  Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateSMSSettingIniValue" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
            <div class="simple-card">
                 <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">FOMO SETTING &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="tblFomoSetting" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <asp:Panel ID="Panel6" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdFomoSetting" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdFomoSetting_RowDataBound" OnRowCommand="grdFomoSetting_RowCommand">
                                            <%--OnRowDataBound="grdCharge_RowDataBound" OnRowCommand="grdCharge_RowCommand--%>
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblFomoSettingID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblFomoSettingName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="lblFomoSettingValue" runat="server" Width="100%" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;                                                      
                                                      <%--  <asp:DropDownList ID="cmbCharge" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                        </asp:DropDownList>--%>

                                                        <%--   <asp:TextBox ID="txtIniValue" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>--%>
                                                        <%--<asp:Label ID="lblValue" runat="server" Text='<%#Eval("Value") %>'></asp:Label>--%>
                                                        <%--<asp:DropDownList ID="cmbShow" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                            <asp:ListItem Value="0">Name and Desc</asp:ListItem>
                                                            <asp:ListItem Value="1">Name</asp:ListItem>
                                                            <asp:ListItem Value="2">Description</asp:ListItem>
                                                        </asp:DropDownList>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server"  Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateFomoSettingIniValue" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
      </div>
            <div class="simple-card">
                 <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">TAKEAWAY CHARGE PAGE &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="Table7" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <asp:Panel ID="Panel7" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdTakeAwaysetting" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            OnRowCommand="grdTakeAwaysetting_RowCommand" DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdTakeAwaysetting_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblTakwayID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="TakeAwayCaption" ItemStyle-Width="180px">
                                                    <ItemTemplate>

                                                        <asp:TextBox ID="TxtTakeAwayCaption" runat="server" Width="100%" Text='<%#Eval("TakeAwayCaption") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>

                                                        <asp:TextBox ID="txtValue" runat="server" Width="100%" Text='<%#Eval("Value") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField HeaderText="TaxFlag" ItemStyle-Width="180px">
                                                    <ItemTemplate>

                                                        <asp:TextBox ID="TxtTaxFlag" runat="server" Width="100%" Text='<%#Eval("TaxFlag") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField HeaderText="IsEnable" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtIsEnable" runat="server" Text='<%#Eval("IsEnable") %>' Visible="false"></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;
                                                   
                                                        <asp:DropDownList ID="cmbTakeAway" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                        </asp:DropDownList>
                                                        <%--   <asp:TextBox ID="txtIniValue" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>--%>
                                                        <%--<asp:Label ID="lblValue" runat="server" Text='<%#Eval("Value") %>'></asp:Label>--%>
                                                        <%--<asp:DropDownList ID="cmbShow" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                            <asp:ListItem Value="0">Name and Desc</asp:ListItem>
                                                            <asp:ListItem Value="1">Name</asp:ListItem>
                                                            <asp:ListItem Value="2">Description</asp:ListItem>
                                                        </asp:DropDownList>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server"  Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateTakaAway" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
       </div>
            <div class="simple-card">
                 <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">NEW TAKEAWAY CHARGE  PAGE &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="Table7" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <asp:Panel ID="Panel8" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdTakeAwaysettingonly" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            OnRowCommand="grdTakeAwaysettingonly_RowCommand" DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdTakeAwaysettingonly_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblTakwayID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="TakeAwayCaption" ItemStyle-Width="180px">
                                                    <ItemTemplate>

                                                        <asp:TextBox ID="TxtTakeAwayCaption" runat="server" Width="100%" Text='<%#Eval("TakeAwayCaption") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>

                                                        <asp:TextBox ID="txtValue" runat="server" Width="100%" Text='<%#Eval("Value") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField HeaderText="TaxFlag" ItemStyle-Width="180px">
                                                    <ItemTemplate>

                                                        <asp:TextBox ID="TxtTaxFlag" runat="server" Width="100%" Text='<%#Eval("TaxFlag") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField HeaderText="IsEnable" ItemStyle-Width="180px" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtIsEnable" runat="server" Text='<%#Eval("IsEnable") %>'></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;
                                                   
                                                        <asp:DropDownList ID="cmbTakeAway" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                        </asp:DropDownList>

                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server"  Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateTakaAway" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>

                                        <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse">
                                            <tr>
                                                <td style="width: 230px">TakeAwayCaption:<br />
                                                    <asp:TextBox ID="txtnTakeawaycaption" Width="100%" runat="server" />
                                                </td>
                                                <td style="width: 230px">Value:<br />
                                                    <asp:TextBox ID="txtnvalue" Width="100%" runat="server" />
                                                </td>
                                                <td style="width: 230px">TaxFlag:<br />
                                                    <asp:TextBox ID="txtntaxflag" Width="100%" runat="server" />
                                                </td>
                                                <td style="width: 230px">
                                                    <asp:Button ID="btnAdd" runat="server" Text="Add" OnClick="Insert" OnClientClick="return validate();" CssClass="btn btn-primary" />
                                                </td>
                                            </tr>
                                        </table>

                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
         </div>
            <div class="simple-card">
              <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">INVENTORY POST PAGE &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="Table2" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <asp:Panel ID="Panel9" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdPost" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            OnRowCommand="grdPost_RowCommand" DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdPost_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblPostId" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblPostName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtPostValue" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;
                                                      <asp:DropDownList ID="cmbPost" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                      </asp:DropDownList>

                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdatePost" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            </div>
            <%--This is Suntoyo CRM --%>
            <div class="simple-card">
                 <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">ICRM &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="Table10" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>
                                    <span style="color: red; padding-bottom: 12px;">Note : Either "IsCashback" or "IsPointRedemption" should Enable at a time .</span>
                                    <asp:Panel ID="Panel10" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdICRM" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            OnRowCommand="grdICRM_RowCommand" DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdICRM_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblICRMId" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblICRMIniName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtICRMValue" Width="100%" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;
                                                      <asp:DropDownList ID="cmbICRM" CssClass="custom-select" runat="server" AutoPostBack="true">
                                                      </asp:DropDownList>

                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateICRM" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
           </div>
            <%-- This is Advacado CRM --%>
            <div class="simple-card">
                 <div class="card">
                <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">ADAVACADO  CRM &nbsp;&nbsp;
                </h5>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="Table11" class="table table-striped table-bordered second" style="width: 100%">
                            <tbody>
                                <caption>

                                    <asp:Panel ID="Panel11" runat="server" BackColor="white" ScrollBars="Auto">
                                        <asp:GridView ID="grdCRM" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                            Font-Size="12px" EmptyDataText="No Record Found ! "
                                            OnRowCommand="grdCRM_RowCommand" DataKeyNames="ID" FooterStyle-BackColor="Green"
                                            FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                            AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                            CellPadding="3" OnRowDataBound="grdCRM_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField HeaderText="ID" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblCRMId" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblCRMIniName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtCRMValue" Width="100%" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                                        &nbsp;&nbsp;&nbsp;
                                          <asp:DropDownList ID="cmbCRM" CssClass="custom-select" runat="server" AutoPostBack="true">
                                          </asp:DropDownList>

                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="btn btn-warning"
                                                            CommandName="UpdateCRM" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </caption>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            </div>
            
            <%-- This is for Web --%>
            <div class="simple-card">
            <div class="card">
            <h5 class="card-header" style="background-color: #4c4c4c; font-size: 14px; color: #F8F9FA">WebPortal &nbsp;&nbsp;
            </h5>
            <div class="card-body">
            <div class="table-responsive">
            <table id="Table10" class="table table-striped table-bordered second" style="width: 100%">
                <tbody>
                    <caption>
    
                        <asp:Panel ID="Panel12" runat="server" BackColor="white" ScrollBars="Auto">
                            <asp:GridView ID="grdweb" runat="server" AutoGenerateColumns="False" EmptyDataRowStyle-CssClass="alert-dark"
                                Font-Size="12px" EmptyDataText="No Record Found ! "
                                OnRowCommand="grdweb_RowCommand" DataKeyNames="ID" FooterStyle-BackColor="Green"
                                FooterStyle-ForeColor="white" Width="920px" AllowPaging="false" BackColor="White"
                                AllowSorting="true" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
                                CellPadding="3" OnRowDataBound="grdweb_RowDataBound">
                                <Columns>
                                    <asp:TemplateField HeaderText="ID" Visible="false">
                                        <ItemTemplate>
                                            <asp:Label ID="lblWebId" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="180px">
                                        <ItemTemplate>
                                            <asp:Label ID="lblWebIniName" runat="server" Text='<%#Eval("IniName") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Value" ItemStyle-Width="180px">
                                        <ItemTemplate>
                                            <asp:TextBox ID="txtWebValue" Width="100%" runat="server" Text='<%#Eval("IniValue") %>'></asp:TextBox>
                                            &nbsp;&nbsp;&nbsp;
                                          <asp:DropDownList ID="cmbWeb" CssClass="custom-select" runat="server" AutoPostBack="true">
                                          </asp:DropDownList>

                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="" ItemStyle-Width="180px">
                                        <ItemTemplate>
                                            <asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="btn btn-warning"
                                                CommandName="UpdateWeb" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </asp:Panel>
                    </caption>
                </tbody>
            </table>
        </div>
    </div>
</div>
</div>


            <div id="s3bucketParameters" runat="server">
                <table style="display: none">
                    <tr>
                        <td>
                            <asp:Label ID="lblclientname" runat="server"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="lblstorename" runat="server"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="lbldbpath" runat="server"></asp:Label>
                            <asp:HiddenField ID="hdnPath" runat="server" ClientIDMode="Static" />
                            <asp:HiddenField ID="hdnurl" runat="server" ClientIDMode="Static" />
                            <asp:HiddenField ID="hdnfileid" runat="server" ClientIDMode="Static" />
                        </td>
                    </tr>
                </table>
            </div>
        </ContentTemplate>

    <Triggers>
    <asp:PostBackTrigger ControlID="btnPriceflagcreate" />
    <asp:PostBackTrigger ControlID="btnPriceflagFix" />
   </Triggers>

    </asp:UpdatePanel>


    <asp:UpdateProgress ID="UpdateProgress" runat="server" AssociatedUpdatePanelID="updatepanel1">
    <ProgressTemplate>
        <div class="overlay">
            <%--  <div style="z-index: 1000; margin-left: 450px; margin-top: 0; opacity: 1; -moz-opacity: 1;">--%>
            <div class="LoadingDivCss">
                <img alt="" src="IMG/Spinner.gif" class="LoadingImgCss" />
            </div>
        </div>
    </ProgressTemplate>
</asp:UpdateProgress>






    <script type="text/javascript">
        $(document).ready(function() {
          $("#<%=grdIniSettings.ClientID%> tr:has(td)").each(function() {
                let index = $(this).closest("tr").index();  
              
                if(index == 13 || index == 14 || index == 15 || index == 16){
                    let colorpicker = $(this).find("#colorpicker").attr('id');
                    
                   $('#<%=grdIniSettings.ClientID%> tr:eq(' + index + ')').find("#colorpicker").removeClass( "d-none" )
              }
          });
        });
    </script>

 <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>

