<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Components_Alert_EmailConfiguration, App_Web_eb0ot2pz" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="EmailConfigurationUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage"  class="divcontentpagemargin">
              
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="124"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="SearchPanel" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-search"></i>
                                                        <asp:Label ID="SearchLabel" runat="server" Text="Search"></asp:Label>
                                                    </header>
                                                </div>
                                                <div class="fRight mt-27">
                                                    <asp:Button ID="AddNewButtonID" runat="server" SkinID="0"
                                                        CssClass="btn btn-add fas" Text="&#xf067; Add" OnClick="AddNewButtonID_Click" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="Panel2" runat="Server">
                                            <div class="contentHolder">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchMailTypeLabel" Text="Mail Type" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="SearchMailTypeDropDownList" runat="server" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="ModuleDropDownListResource1">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchOrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="SearchOrganizationDropDownList" runat="server" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()"
                                                                meta:resourcekey="TaskDropDownListResource1">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="alignCenter pTop5">
                                                        <asp:Button ID="SearchButton" runat="Server"
                                                            SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" OnClick="SearchButton_Click" />
                                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" OnClick="ResetButton_Click" />
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </asp:Panel>
                                        <br />
                                        <div id="GridViewDiv" runat="server" visible="true">
                                            <div id="Div4" runat="server" class="col-md-12 table-responsive">
                                                <asp:GridView ID="EmailConfigurationGridView" runat="server" AutoGenerateColumns="False" OnRowDataBound="EmailConfigurationGridView_RowDataBound"
                                                    CssClass="table table-striped table-bordered table-hover" Width="100%" EmptyDataText="No Records Found!!"
                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="OrgId,MailTypeId">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="SelectLinkButton" runat="server" CommandName="Select"
                                                                    Text="Select" CausesValidation="false" OnClick="SelectLinkButton_Click"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="MailType" HeaderText="Mail Type" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="Organization" HeaderText="Organization" ItemStyle-Width="25%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="SMTPServer" HeaderText="SMTP Server" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="DisplayName" HeaderText="Display Name" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="SendUserName" HeaderText="Send User Name" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:TemplateField HeaderText="EnableSSL" ItemStyle-Width="5%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="EnableSSLLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"EnableSSL").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Primary Account" ItemStyle-Width="5%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="IsPrimaryAccountLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsPrimaryAccount").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                         <asp:TemplateField HeaderText="InActive" ItemStyle-Width="5%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="IsObsoleteLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsObsolete").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="himssuHeader5WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                                    <div class="himsBoxHeader card-head">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <i class="fas fa-cog"></i>
                                                    <asp:Label ID="NewsDetailLabel" runat="server" Text="Email Configuration"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                        <div class="fRight mt-27 pagination display-flex">
                                            <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton" OnClick="FirstRecordImageButton_Click"
                                                    runat="server" CommandName="Page" CommandArgument="First"
                                                    CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-backward"></i>
                                                </asp:LinkButton>
                                                <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                    runat="server" CommandName="Page" CommandArgument="Prev" OnClick="PreviousImageButton_Click"
                                                    CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play fa-rotate-180"></i>
                                                </asp:LinkButton>
                                                <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                &nbsp; 
                                                <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                &nbsp; 
                                                <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                &nbsp;  
                                                <asp:Label ID="TotalRecord" runat="server" />
                                                &nbsp;
                                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom" OnClick="NextImageButtom_Click"
                                                                runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Next">
                                                                 <i class="fa fa-play"></i>
                                                            </asp:LinkButton>

                                                <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton" OnClick="LastRecordImageButton_Click"
                                                    runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Last">
                                                                  <i class="fa fa-fast-forward" ></i>
                                                </asp:LinkButton>
                                                &nbsp;  &nbsp; &nbsp;
                                            </div>

                                            <asp:Button ID="BackButton" runat="Server" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" OnClick="BackButton_Click" />

                                        </div>
                                    </div>
                                    <div class="topdisplayContainer card card-box margin-bottom alignCenter">
                                        <div class="himsBoxContent card-body pad pb5">
                                        <asp:Label ID="IsEmailActive" runat="server" Text="" SkinID="CustomWidthLabel" Visible="false"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="himssuHeader2WireBox">
                                        <div class="contentHolder">
                                            <div class="himssuHeader1WireBox card card-box">
                                                <div class="himsBoxHeader card-head">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle">
                                                        <div class="headerText">
                                                            <header>
                                                                <i class="fas fa-cog"></i>
                                                                <asp:Label ID="Label1" runat="server" Text="Maintainance"></asp:Label>
                                                            </header>
                                                        </div>
                                                    </div>
                                                    <div class="fRight mt-27">
                                                        <asp:Button ID="SMTPButton" runat="Server" Text="&#xf2b6;  SMTP" Visible="false" SkinID="0" CssClass="btn btn-mail fas" OnClick="SMTPButton_Click" />
                                                        <asp:Button ID="MailJetButton" runat="Server" Text="&#xf1d8;  Mail Jet" Visible="false" SkinID="0" CssClass="btn btn-mail-vv fas" OnClick="MailJetButton_Click" />
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent card-body">
                                                    <asp:Panel ID="DetailPanel" runat="Server">
                                                        <div class="contentHolder">
                                                            <div class="cBoth">
                                                            </div>
                                                            <asp:Panel ID="Panel1" runat="Server">
                                                                <div class="fRight pb5 pTop5">
                                                                    <asp:CheckBox ID="IsAllOrgCheckBox" Text="Applicable To All Organization" runat="server" />
                                                                    <%--                                                                <asp:Label ID="IsAllOrgLabel" runat="server" Text="Applicable To All Organization"></asp:Label>--%>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="MailTypeLabel" runat="server" Text="Mail Type" SkinID="MandatoryLabel"
                                                                            meta:resourcekey="MailTypeLabelResource1"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="MailTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            OnSelectedIndexChanged="MailTypeDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="OrganizationDropDownListLabel" Text="Organization" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList ID="OrganizationDropDownList" runat="server" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" OnSelectedIndexChanged="OrganizationDropDownList_SelectedIndexChanged" AutoPostBack="true"
                                                                            meta:resourcekey="TaskDropDownListResource1">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="SMTPServerLabel" runat="server" Text="SMTP Server"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="SMTPServerTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="500"> </asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="cBoth">
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="SMTPPortLabel" runat="server" Text="SMTP Port"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="SMTPPortTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="9"> </asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="DisplayNameLabel" runat="server" Text="Display Name"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="DisplayNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="SendUserNameLabel" runat="server" Text="Send User Name"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="SendUserNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="SendPasswordLabel" runat="server" Text="Send Password"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="SendPasswordTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200" TextMode="Password"> </asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop15 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="IsAuthenticateUsernameCheckBox" runat="server" Text="Authenticate Username" />
                                                                        <%--<asp:Label ID="EnableSSLLabel" runat="server" Text="EnableSSL"></asp:Label>--%>
                                                                    </div>
                                                                </div
                                                                <div class="cBoth" /></div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="FromMailLabel" runat="server" Text="From Mail"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="FromMailTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="cBoth">
                                                                </div>
                                                                <div id="MailJetDiv" runat="server" visible="false">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="APIKeyLabel" runat="server" Text="API Key"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="APIKeyTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="SecretKeyLabel" runat="server" Text="Secret Key"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="SecretKeyTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="cBoth">
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="EnableSSLCheckBox" runat="server" Text="EnableSSL" />
                                                                        <%--<asp:Label ID="EnableSSLLabel" runat="server" Text="EnableSSL"></asp:Label>--%>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="PrimaryAccountCheckBox" runat="server" Text="Primary Account" />                                                                        
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="ObsoleteCheckBox" runat="server" Text="In Active" />                                                                        
                                                                    </div>
                                                                </div>

                                                                <div id="SMTPNoteDiv" runat="server" class="col-md-12 pTop5" visible="false">
                                                                    <div class="pTop5 pb5 card-head inner width-100">
                                                                        <header>
                                                                            <asp:Label ID="TestLabel" runat="server" Text="Test Email Configuration" CssClass="divcontentpagemargin"></asp:Label>
                                                                        </header>
                                                                    </div>

                                                                    <div class="outerBox pTop5 pb5 col-md-12" id="SubjectDiv" runat="server">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="SubjectLabel" runat="server" Text="Subject"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="SubjectTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" runat="server" MaxLength="1000"> </asp:TextBox>
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox11 pTop15 pb15 col-md-12">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="MessageLabel" runat="server" Text="Message"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="MessageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                Height="60px" SkinID="MultilineTextBox"  runat="server" MaxLength="1000"
                                                                                TextMode="MultiLine"> </asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop15 pb5 col-md-12" runat="server">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="EmailIdLabel" SkinID="CustomWidthLabel" Width="700px" runat="server"
                                                                                Text="List Of EmailId (Example abc@yahoo.co.in, xyz@gmail.com (Comma(,) Seperated))"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="EmailIdTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                Height="50px" SkinID="MultilineTextBox"  runat="server" MaxLength="1000"
                                                                                TextMode="MultiLine"> </asp:TextBox>
                                                                        </div>
                                                                        <div class="col-md-12  alignCenter pTop5">
                                                                            <asp:Button ID="SendButton" OnClick="SendButton_Click" runat="server" CssClass="btn btn-send fas" SkinID="0" Text="&#xf1d8; Send (API)" OnClientClick="sendmail()" Visible="false" />
                                                                            <asp:Button ID="SendEmailButton" OnClick="SendEmailButton_Click" runat="server" CssClass="btn btn-send fas" SkinID="0" Text="&#xf1d8;  Send (Screen)" />
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="cBoth"></div>

                                                                <div class=" col-md-12">
                                                                    <div class="alert alert-info ">
                                                                
                                                                                <b>For Gmail SMTP Configuration :</b>
                                                                                <br>
                                                                        SMTP Server : smtp.gmail.com ; SMTP Port : 587 ; EnableSSL : True
                                                                    <br>
                                                                        Account Setting : My Account  > Sign-in & Security  > Connected apps & sites  > Less Secure apps > Turn on
                                                                    <br>
                                                                        Turn off 2-Step Verification
                                                                    <br>
                                                                       <b> For Email Configuration :</b> Admin Tool > Configuration >  Organization Configuration > Alert.IsActivateEmail : True
                                                                </div>
                                                                </div>

                                                            
                                                            </asp:Panel>
                                                        </div>
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                        </div>
                                </div>
                            </div>
                            </div>
                        </tr>
                    </table>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
  <%--  <script data-main="../../../JavaScript/rjs/encrypt/email-configuration-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/email-configuration")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
