<%@ page language="C#" async="true" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Components_Alert_SMSFromExcel, App_Web_zqbu4vcs" 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/Common/Alert/AlertDetailBoxControl.ascx" TagName="AlertControl"
    TagPrefix="Alert" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <table width="0px" cellpadding="0" cellspacing="0">
                            <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="row whiteboxpaddingleft">
                    <Alert:AlertControl ID="AlertUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader2WireBox ">
                        <div class="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">
                            <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-comment"></i>
                                                <asp:Label ID="Label1" runat="server" Text="SMS From Excel"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body padd-0">
                                    <cc1:TabContainer Width="100%" ID="AlertTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                        ActiveTabIndex="0">
                                        <cc1:TabPanel Width="100%" ID="SMSDeatil" runat="server" HeaderText="SMS">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-comment"></i>&nbsp;SMS </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <asp:Panel ID="DetailPanel" runat="server">
                                                    <div class="contentHolder ">
                                                        <asp:Panel ID="SearchCriteriaPanel" runat="server">
                                                            <div class="outerBox  col-md-12  radiobtn bg-lghtgrey">
                                                                <div class="controlLabelWidth">
                                                                    <asp:RadioButtonList ID="SourceTypeRadioButtonList" runat="server" RepeatDirection="Horizontal"
                                                                        OnSelectedIndexChanged="SourceTypeRadioButtonList_OnSelectedIndexChanged" AutoPostBack="True">
                                                                        <asp:ListItem Text="Custom" Value="1" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="Excel" Value="2"></asp:ListItem>
                                                                        <asp:ListItem Text="Other Group" Value="3"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                    <br />
                                                                    <div class="cBoth"></div>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop15 col-md-3" id="OtherGroupDiv" runat="server" visible="False">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="OtherGroupLabel" SkinID="MandatoryLabel" runat="server" Text="Other Group"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="OtherGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="OtherGroupDropDownList_OnSelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox mt1 col-md-12 radiobtn bg-lghtgrey" id="MessageTypeDiv" runat="server" visible="False">
                                                                <div class="controlLabelWidth">
                                                                    <asp:RadioButtonList ID="MessageTypeRadioButtonList" CssClass="col-md-6" runat="server" RepeatDirection="Horizontal"
                                                                        Height="20px" OnSelectedIndexChanged="MessageTypeRadioButtonList_SelectedIndexChanged"
                                                                        AutoPostBack="True">
                                                                        <asp:ListItem Text="Common Message" Value="1" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="Individual Message" Value="2"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-6">
                                                                <div class="controlLabelWidth pTop15">
                                                                    <%--<asp:CheckBoxList ID="SourceTypeCheckBoxList" runat="server" RepeatDirection="Horizontal"
                                                                        OnSelectedIndexChanged="SourceTypeCheckBoxList_OnSelectedIndexChanged" AutoPostBack="True">
                                                                        <asp:ListItem Text="SMS" Value="1" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="Email" Value="2"></asp:ListItem>
                                                                        <asp:ListItem Text="WhatsApp" Value="3"></asp:ListItem>
                                                                    </asp:CheckBoxList>--%>
                                                                    <asp:RadioButtonList ID="SMSPredefineRadioButtonList" runat="server" RepeatDirection="Horizontal"
                                                                        CssClass="col-md-9 ml-2" OnSelectedIndexChanged="SourceTypeCheckBoxList_OnSelectedIndexChanged"
                                                                        AutoPostBack="true">
                                                                        <asp:ListItem Text="SMS" Value="1" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="Email" Value="2"></asp:ListItem>
                                                                        <asp:ListItem Text="WhatsApp" Value="3"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                            </div>

                                                            <div class="text-center col-md-12 pTop5" id="AttachementDiv" runat="server" visible="false">
                                                                <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                                                    <i class="fas fa-upload"></i>Browse</a>
                                                                <asp:FileUpload ID="flUpload" runat="server" AllowMultiple="true" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                                                                <asp:Button ID="WhatsAppRefreshButton" runat="server" Text="&#xf2f9; Refresh" SkinID="0" CssClass="btn btn-refresh fas" OnClick="WhatsAppRefreshButton_Click" />
                                                                <br></br>
                                                                <asp:Label ID="lblUploadSuccessMsg" runat="server"></asp:Label>
                                                                <asp:HiddenField ID="GUIDHiddenField" runat="server" />

                                                                <div id="FileGridViewDiv" runat="server" visible="false">
                                                                    <asp:GridView ID="FileGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                                                        AutoGenerateColumns="False" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No Files Uploaded"
                                                                        DataKeyNames="UniqueText">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="File Name" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Left"
                                                                                ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:HyperLink ID="FileNameHyperLink" runat="server" Text='<%# Eval("FileName") %>'
                                                                                        NavigateUrl='<%# Eval("FilePath") %>' Target="_blank"></asp:HyperLink>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Delete" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Center"
                                                                                ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:ImageButton ID="DeleteImageButton" runat="server" ImageUrl="~/Images/icons/icon_delete.gif" ToolTip="Delete" OnClick="DeleteImageButton_Click" />
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop15 col-md-3">
                                                                <div class="controlLabelWidth pTop5">
                                                                    <asp:HyperLink ID="DownloadTemplateHyperLink" runat="server" Text="&#xf101; Download Template"
                                                                        NavigateUrl="~/ContentTemplates/Import/Send_Alert_Template.xls" CssClass="pointer fas" Visible="False"></asp:HyperLink>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 alignCenter col-md-12">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Button ID="AddFileButton" runat="server" OnClick="AddFileButton_Click"
                                                                        SkinID="0" Visible="False" Text="&#xf093; Import From Excel" CssClass="btn btn-examcommon fas" />
                                                                    <asp:Button ID="RefreshButton" runat="server" OnClick="RefreshButton_OnClick" Text="&#xf2f9; Refresh" CssClass="btn btn-refresh fas"
                                                                        SkinID="0" Visible="False" />
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" style="width: 1000px" id="EmailCCDiv" runat="server"
                                                                visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="EmailCCLabel" runat="server" Text="Email CC"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="EmailCCTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthTextBox" Width="800px" runat="server" MaxLength="1000"> </asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth"></div>
                                                            <div class="outerBox pTop5 col-md-3" style="width: 1000px" id="EmailBCCDiv" runat="server"
                                                                visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="EmailBCCLabel" runat="server" Text="Email BCC"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="EmailBCCTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthTextBox" Width="800px" runat="server" MaxLength="1000"> </asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth"></div>
                                                            <div class="outerBox pTop5 col-md-3" style="width: 1000px" id="SubjectDiv" runat="server"
                                                                visible="False">
                                                                <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" Width="800px" runat="server" MaxLength="1000"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <div class="col-md-12 padd-0">
                                                                <div class="alert alert-info">
                                                                    <div style="color: #FF7F7F">
                                                                        </b>* Simple SMS is upto 158 and Multi Language SMS is up to 70 characters
                                                                            in length.
                                                                        <br />
                                                                        * According to government regulations(TRAI), if your DLT process with SMS template registration has not been completed by now, 
                                                                        then you will not get proper logs in alerts module.
                                                                         <br />
                                                                         <%--//By Krunal, Add For Mantis: 0038346  --%>
                                                                        <div runat="server" id="SmsfromExceldv" visible="false" style="color: #FF7F7F">
                                                                            * You can send a maximum of 200 to 250 bulk WhatsApp messages at a time, otherwise, your what's app account will be blocked from the WhatsApp side.
                                                                             <br />
                                                                            * Only PDF,JPG,DOC,XLS file extentions supported for WhatsApp.
                                                                             <br />
                                                                            * We have kept 10-15 seconds delay time between every two message.
                                                                             <br />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="fLeft pRight5">
                                                                    <asp:CheckBox ID="SupportSMSInOtherLanguageCheckBox" runat="server" Text="Support SMS in other language" />
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <div class="outerBox11 pTop5 col-md-12">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="MessageLabel" runat="server" Text="Message" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="MessageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        Height="50px" SkinID="MultilineTextBox" Width="800px" runat="server" MaxLength="1000"
                                                                        TextMode="MultiLine" OnTextChanged="MessageTextBox_TextChanged" AutoPostBack="True"></asp:TextBox>
                                                                    <div id="CharCountDiv" runat="server">
                                                                        <asp:Label ID="ForCharLabel" runat="server" Text="Number Of Character :"></asp:Label>
                                                                        <asp:Label ID="NumberOfCharLabel" runat="server" Font-Bold="True"></asp:Label>
                                                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                                                    <asp:Label ID="ForMessageLabel" runat="server" Text="Number Of Message :"></asp:Label>
                                                                        <asp:Label ID="NumberOfMessageLabel" runat="server" Font-Bold="True"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="TemplateIdLabel" runat="server" Text="Template Id"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="SMSTemplateIDTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        runat="server" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <%--Mantis Id : 0038790--%>
                                                            <div class="outerBox pTop5 col-md-3" runat="server" id="TemplateNameDiv" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="TemplateNameLabel" runat="server" Text="WhatsApp Template Name"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="TemplateNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        runat="server" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox11 pTop15 col-md-12" id="SMSDiv" runat="server">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="MobileNoLabel" SkinID="MandatoryLabel" runat="server"
                                                                        Text="List Of Mobile No (Example 9876543210,9123456780(Comma(,) Seperated))"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="MobileNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        Height="50px" SkinID="MultilineTextBox" Width="800px" runat="server" MaxLength="1000"
                                                                        TextMode="MultiLine"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3" style="width: 1000px" id="EmailIdDiv" runat="server"
                                                                visible="False">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="EmailIdLabel" SkinID="MandatoryLabel" runat="server"
                                                                        Text="List Of EmailId (Example abc@yahoo.co.in,xyz@gmail.com(Comma(,) Seperated))"
                                                                        Height="18px"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="EmailIdTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        Height="50px" SkinID="MultilineTextBox" Width="800px" runat="server" MaxLength="1000"
                                                                        TextMode="MultiLine"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                        </asp:Panel>
                                                        <div id="Div1" class="himssuHeader1WireBox col-md-12" runat="server"
                                                            visible="False" style="width: 99%; height: 100%">
                                                            <div id="GridViewPagerDiv" runat="server">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                </div>
                                                            </div>
                                                            <div class="himsBoxContent">
                                                                <div id="Div3" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="AlertGridView" runat="server" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" EmptyDataText="No Records Found !!"
                                                                        DataKeyNames="MobileNo,EmailId">
                                                                        <Columns>
                                                                            <asp:TemplateField>
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderSelectCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:BoundField DataField="Name" HeaderText="Name">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="20%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="MobileNo" HeaderText="Mobile No">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="EmailId" HeaderText="EmailId">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="20%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Subject" HeaderText="Subject">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="20%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Message" HeaderText="Message">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="25%" />
                                                                            </asp:BoundField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:CheckBox ID="CreateOtherGroupCheckBox" Text="Create Other Group" AutoPostBack="True"
                                                                        runat="server" OnCheckedChanged="CreateOtherGroupCheckBox_CheckedChanged" />
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <div id="CreateOtherGroupDiv" runat="server" visible="False">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="GroupCodeLabel" Text="Code" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="GroupCodeTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" onmouseenter="showHideTooltip()" MaxLength="20" Width="150px"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="GroupTitleLabel" Text="Name" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="GroupTitleTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" onmouseenter="showHideTooltip()" MaxLength="100"
                                                                            Width="150px"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Button ID="CreateOtherGroupButton" runat="server" OnClick="CreateOtherGroupButton_OnClick"
                                                                            Text="Create Other Group" SkinID="CustomWidthButton" Width="180px" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <br />
                                                        </div>
                                                        <div id="Div2" class="himssuHeader1WireBox col-md-12" runat="server"
                                                            visible="False" style="width: 99%; height: 100%">
                                                            <div class="himsBoxContent">
                                                                <div id="Div4" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="OtherGroupGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" EmptyDataText="No Records Found !!"
                                                                        DataKeyNames="MobileNo,Email">
                                                                        <Columns>
                                                                            <asp:TemplateField>
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="OGHeaderSelectCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="OGSelectCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:BoundField DataField="OtherGroupDetailTitle" HeaderText="Title">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="35%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="MobileNo" HeaderText="Mobile No">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="30%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Email" HeaderText="EmailId">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="30%" />
                                                                            </asp:BoundField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="MobileAppAssign" ClientIDMode="Static" runat="server"
                                            HeaderText="Mobile App">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-mobile"></i>&nbsp;Mobile App </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="cBoth">
                                                </div>
                                                <div class="outerBox pTop15 col-md-3">
                                                    <div class="controlLabelWidth pTop5">
                                                        <asp:HyperLink ID="DownloadNotificationTemplateHyperLink" runat="server" Text="&#xf101; Download Template"
                                                            NavigateUrl="~/ContentTemplates/Import/Send_Notification_Template.xls" CssClass="pointer fas"></asp:HyperLink>
                                                    </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Button ID="NotificationFileButton" runat="server" OnClick="NotificationFileButton_Click"
                                                            SkinID="0" Text="&#xf093; Import From Excel" CssClass="btn btn-examcommon fas" />
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Button ID="RefreshNotificationButton" runat="server" OnClick="RefreshNotificationButton_OnClick"
                                                            Text="&#xf2f9; Refresh" CssClass="btn btn-refresh fas" SkinID="0" />
                                                    </div>
                                                    <asp:Label ID="Label2" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                </div>

                                                <div class="cBoth">
                                                </div>
                                                <div id="NotificationDiv" class="himssuHeader1WireBox col-md-12"
                                                    runat="server" visible="False" style="width: 99%; height: 100%">
                                                    <div class="himsBoxContent">
                                                        <div id="Div5" runat="server" class="table-responsive">
                                                            <asp:GridView ID="NotificationGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" EmptyDataText="No Records Found !!"
                                                                DataKeyNames="Code,Message">
                                                                <Columns>
                                                                    <asp:TemplateField>
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="HeaderSelectCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                <span></span>
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                        <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="Code" HeaderText="Code">
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="20%" />
                                                                    </asp:BoundField>
                                                                    <asp:BoundField DataField="Message" HeaderText="Message">
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="70%" />
                                                                    </asp:BoundField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="OrganizationLabel" SkinID="MandatoryLabel" Text="Organization" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 bg-lghtgrey radiobtn">
                                                    <div class="controlLabelWidth">
                                                        <asp:RadioButtonList ID="NotificationRadioButtonList" CssClass="col-md-4" runat="server" RepeatDirection="Horizontal"
                                                            Height="20px">
                                                            <asp:ListItem Text="Student" Value="2003" Selected="True"></asp:ListItem>
                                                            <asp:ListItem Text="Employee" Value="95"></asp:ListItem>
                                                        </asp:RadioButtonList>
                                                    </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div class="alignCenter pTop5">
                                                    <asp:Button ID="SendNotificationButton" Text="&#xf1d8; Send Notification" CssClass="btn-send btn fas" runat="Server" OnClick="SendNotificationButton_Click"
                                                        SkinID="0" />
                                                    <asp:HiddenField runat="server" ID="ButtonIdHiddenField" />
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <br />
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                    </cc1:TabContainer>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="spacer">
                        <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                    </div>
                </div>

            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--   <script data-main="../../../JavaScript/rjs/encrypt/sms-fromexcel-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/sms-fromexcel")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script>
        function CloseLoadingpopup() {
            $('#dvTestLoadingmsg').hide();
            $('.hls-bg').hide();
        }
    </script>
</asp:Content>
