<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_BaseFramework_Security_UserLog, App_Web_mfuq2den" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="../../../UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>
<%@ 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/Alert/AlertDetailBoxControl.ascx" TagName="AlertControl" TagPrefix="Alert" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <div id="CPDiv">
        <asp:UpdatePanel ID="updPnlSearchGridView" runat="server">
            <ContentTemplate>
                <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
                <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
                <div id="divContentPage" class="divcontentpagemargin">
                    <!-- ContentPlaceHolder Box Starts -->
                    <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="122" Visible="true" runat="server" />
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="row whiteboxpaddingleft">
                        <!-- Sub Container2 Box Start -->
                        <div class="himssuHeader5WireBox card card-box" runat="server" id="SearchDiv">
                            <div class="himsBoxHeader card-head">
                                <asp:Panel ID="TopPanel" runat="server" meta:resourcekey="TopPanelResource1">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-search"></i>
                                                <asp:Label ID="Label1" runat="server" Text="Search" meta:resourcekey="Label1Resource1"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                            <asp:Panel ID="DetailPanel" runat="server" meta:resourcekey="DetailPanelResource1">
                                <div class="himsBoxContent card-body">
                                    <div class="contentHolder">
                                        <div class="tableContainer">
                                            <div class="navgraybackground">
                                                <ul class="nav nav-tabs">
                                                    <li id="UserLogList" runat="server"><a href="#tab_1">
                                                        <asp:Button Text="User Log" ID="UserLogListButton" CssClass="fas transparenttab" SkinID="0"
                                                            OnClick="UserLogListButton_Click" runat="server" AutoPostBack="True" />
                                                    </a></li>
                                                    <li id="ForgotPasswordFailureLogList" runat="server"><a>
                                                        <asp:Button Text="Forgot Password Failure Log" ID="ForgotPasswordFailureLogListButton" CssClass="fas transparenttab" SkinID="0"
                                                            OnClick="ForgotPasswordFailureLogListButton_Click" runat="server" AutoPostBack="True" Visible="false" />
                                                    </a></li>
                                                </ul>
                                            </div>

                                            <div class="contentHolder" id="UserLogDiv" runat="server">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="FromDateLabel" runat="server" Text="From Date" Visible="true" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl" Visible="true"
                                                                runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ToDateLabel" runat="server" Text="To Date" Visible="true" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" Visible="true"
                                                                runat="server" />
                                                        </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" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="RoleLabel" Text="Role" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="RoleDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="LoginFromLabel" Text="Login From" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="LoginFromDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchDisplayNameLabel" runat="server" Text="Display Name"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SearchDisplayNameTextBox" runat="server" TabIndex="1" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                            <asp:DropDownList ID="ConditionDropDownList" runat="server" Visible="False" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropdownList" CssClass="form-control"
                                                                meta:resourcekey="ConditionDropDownListResource1">
                                                                <asp:ListItem Selected="True" Value="0" meta:resourcekey="ListItemResource1">OR</asp:ListItem>
                                                                <asp:ListItem Value="1" meta:resourcekey="ListItemResource2">AND</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchLoginNameLabel" runat="server" Text="User Name"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SearchLoginNameTextBox" runat="server" TabIndex="2" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="OSTypeLabel" Text="OS Type" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="OSTypeDropDownList" 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 col-md-6">
                                                            <asp:RadioButtonList ID="SearchSourceTypeRadioButtonList" runat="server" RepeatDirection="Horizontal">
                                                                <asp:ListItem Text="Other" Value="1" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="Employee" Value="95"></asp:ListItem>
                                                                <asp:ListItem Text="Student" Value="2003"></asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SourceCodeLabel" runat="server" Text="ID No / Code"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SourceCodeTextBox" runat="server" TabIndex="2" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SourceNameLabel" runat="server" Text="Name"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SourceNameTextBox" runat="server" TabIndex="2" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="alignCenter pTop5">
                                                        <asp:Button ID="SearchButton" runat="server" OnClick="SearchButton_Click" CssClass="btn-search btn fas" Text="&#xf002; Search"
                                                            CausesValidation="False" TabIndex="3" SkinID="0" />
                                                        <asp:Button ID="SearchHistoryButton" runat="server" OnClick="SearchHistoryButton_Click" CssClass="btn-search btn fas" Text="&#xf002; Search History"
                                                            CausesValidation="False" TabIndex="3" SkinID="0" />
                                                        <asp:Button ID="ClearSearchButton" runat="server" OnClick="ClearSearchButton_Click"
                                                            Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" CausesValidation="False" TabIndex="4" meta:resourcekey="ClearSearchButtonResource1" />
                                                        <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" OnClick="ExportButton_Click" CssClass="btn-examcommon btn fas" SkinID="0" TabIndex="5" />
                                                    </div>
                                                    <br />
                                                </asp:Panel>
                                                <div id="UserSearchGridViewDiv" runat="server" visible="false">
                                                    <div class="himssuHeader7WireBox col-md-12" id="PatientRelationDiv" runat="server">
                                                        <div class="himsBoxHeader" id="UserSearchDiv" visible="false" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle" style="width: 99%">
                                                                <div class="headerText">
                                                                    <div>
                                                                        <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="true" />
                                                                    </div>
                                                                </div>
                                                                <div align="right" style="margin-top: -3px;">
                                                                    <uc1:GridViewPager ID="UserSearchGridView_GridViewPager" runat="server" OnFirstRecordClick="UserSearchGridView_GridViewPager_FirstRecordClick"
                                                                        OnLastRecordClick="UserSearchGridView_GridViewPager_LastRecordClick" OnNextRecordClick="UserSearchGridView_GridViewPager_NextRecordClick"
                                                                        OnPrevRecordClick="UserSearchGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="UserSearchGridView_GridViewPager_TextBoxValueChange"
                                                                        ParentGridView="UserSearchGridView" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                <ContentTemplate>
                                                                    <div id="Div5" runat="server">
                                                                        <div id="Div14" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="UserSearchGridView" runat="server" Width="100%" AutoGenerateColumns="False" EmptyDataText="No records found"
                                                                                OnPageIndexChanging="UserSearchGridView_PageIndexChanging" AllowPaging="false" SkinID="" ShowHeader="True"
                                                                                PagerSettings-Visible="false" DataKeyNames="Id,LoggedInIp" CssClass="table table-striped table-bordered table-hover">
                                                                                <Columns>
                                                                                    <asp:BoundField HeaderText="Organization Name" DataField="OrgName" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="15%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="User Name" DataField="LoginTitle" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="15%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="Display Name" DataField="DisplayTitle" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="Role" DataField="RoleName" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="Type" DataField="UserSourceTypeName" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="5%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="ID No / Code" DataField="EmployeeCode" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="Name" DataField="UserFullName" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="15%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="Logged In" DataField="LoggedInDateTime" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="Logged Out" DataField="LoggedOutDateTime" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="OS Type" DataField="OSTypeTitle" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                </Columns>
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="contentHolder" id="ForgotPasswordFailureLogDiv" runat="server" visible="false">
                                                <Alert:AlertControl ID="AlertUserControl" runat="server" Visible="true" />
                                                <div class="topdisplayContainer card card-box margin-bottom">
                                                    <div class="himsDisplayBox">
                                                        <div class="himsBoxContent card-body pad pb5">
                                                            <div class="topdisplayContainer">
                                                                <div class="col-md-12">
                                                                    <div class="col-md-6">
                                                                        <asp:Label ID="EmailAccountIdLabelL" runat="server" Text="Email Account :" Font-Bold="true"></asp:Label>
                                                                        &nbsp;
                                                                        <asp:Label ID="EmailAccountIdLabelT" runat="server" Text="" SkinID="CustomWidthLabel"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="topdisplayContainer card card-box margin-bottom">
                                                    <div class="himsDisplayBox">
                                                        <div class="himsBoxContent card-body pad pb5">
                                                            <div class="topdisplayContainer">
                                                                <div class="col-md-12">
                                                                    <div class="col-md-6">
                                                                        <asp:Label ID="WhatsappAcountLabelL" runat="server" Text="Whatsapp Account :" Font-Bold="true"></asp:Label>
                                                                        &nbsp;
                                                                        <asp:Label ID="WhatsappAcountLabelT" runat="server" Text="" SkinID="CustomWidthLabel"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himssuHeader2WireBox ">
                                                    <div class="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">
                                                        <div class="himssuHeader1WireBox card card-box">
                                                            <div class="himsBoxContent card-body">
                                                                <asp:Panel ID="Panel1" runat="Server">
                                                                    <div class="contentHolder">
                                                                        <asp:Panel ID="Panel2" runat="Server">
                                                                            <div class="outerBox pTop5 col-md-12">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBoxList ID="SourceTypeCheckBoxList" runat="server" RepeatDirection="Horizontal" CssClass="col-md-12">
                                                                                        <asp:ListItem Text="SMS" Value="2" Selected="True"></asp:ListItem>
                                                                                        <asp:ListItem Text="Email" Value="1"></asp:ListItem>
                                                                                        <asp:ListItem Text="WhatsApp" Value="4"></asp:ListItem>
                                                                                    </asp:CheckBoxList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="ForgotPasswordFromDateLabel" runat="server" Text="From Date" Visible="true" SkinID="MandatoryLabel"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="ForgotPasswordFromDatePickerControl" Visible="true" runat="server" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="ForgotPasswordToDateLabel" runat="server" Text="To Date" Visible="true" SkinID="MandatoryLabel"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="ForgotPasswordToDatePickerControl" Visible="true" runat="server" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="ForgotOrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:DropDownList ID="ForgotPasswordOrgDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="ForgotPasswordOSTypeLabel" Text="OS Type" runat="server"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:DropDownList ID="ForgotPasswordOSTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="alignCenter mt35 pb5 col-md-12">
                                                                                <asp:Button ID="ForgotPasswordSearchButton" runat="Server" SkinID="0" CssClass="btn-search btn fas"
                                                                                    Text="&#xf002; Search" OnClick="ForgotPasswordSearchButton_Click" />
                                                                                <asp:Button ID="ForgotPasswordResetButton" runat="server" SkinID="0" CssClass="btn-reset btn fas"
                                                                                    Text="&#xf0e2; Reset" OnClick="ForgotPasswordResetButton_Click" />
                                                                                <asp:Button ID="SendAlertButton" runat="Server" Text="&#xf1d8; Send Alert" SkinID="0" CssClass="btn-send btn fas" OnClick="SendAlertButton_Click" />
                                                                            </div>
                                                                        </asp:Panel>
                                                                        <div id="LogDetailDiv" class="himssuHeader7WireBox pTop15 col-md-12" runat="server" visible="false">
                                                                            <div class="himsBoxHeader" id="FailureLogDetailDiv" runat="server" visible="False"></div>
                                                                            <div class="himsBoxContent width-100">
                                                                                <div id="FailureLogMasterGridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="False">
                                                                                </div>
                                                                                <asp:GridView runat="server" ID="FailureLogMasterGridView" Width="100%" AutoGenerateColumns="False" AllowPaging="True"
                                                                                    EmptyDataText="No records available for the seacrh criteria!" PageSize="10" meta:resourcekey="HREmployeeMasterGridViewResource1"
                                                                                    ShowHeader="True" CssClass="table table-striped table-bordered table-hover" OnRowDataBound="FailureLogMasterGridView_RowDataBound"
                                                                                    DataKeyNames="FailureLogId,UserId,UserSourceId,IsSendAlert,UserSourceTypeId,OrgId">
                                                                                    <Columns>
                                                                                        <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="" ItemStyle-Width="7%">
                                                                                            <HeaderTemplate>
                                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                                    <asp:CheckBox ID="SendAlertCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="SendAlertCheckBox_CheckedChanged" />
                                                                                                    <span></span>
                                                                                                </label>
                                                                                            </HeaderTemplate>
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                                    <asp:CheckBox ID="StatusSendAlertCheckBox" runat="server" />
                                                                                                    <span></span>
                                                                                                </label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Organization Name" ItemStyle-Width="15%" SortExpression="OrganizationName" HeaderStyle-HorizontalAlign="Left"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="OrganizationNameLabel" runat="server" Text='<%# Bind("OrgName") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="User Name" ItemStyle-Width="12%" SortExpression="UserName" HeaderStyle-HorizontalAlign="Left"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="UserNameLabel" runat="server" Text='<%# Bind("UserName") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Type" ItemStyle-Width="7%" SortExpression="Type" HeaderStyle-HorizontalAlign="Left"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="Type" runat="server" Text='<%# Bind("SourceType") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="ID No / Code" ItemStyle-Width="10%" SortExpression="Code" HeaderStyle-HorizontalAlign="Left"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="CodeLabel" runat="server" Text='<%# Bind("Code") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="15%" SortExpression="Name" HeaderStyle-HorizontalAlign="Left"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="NameLabel" runat="server" Text='<%# Bind("Name") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Mobile No" ItemStyle-Width="10%" SortExpression="MobileNo" HeaderStyle-HorizontalAlign="Left"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="MobileNoLabel" runat="server" Text='<%# Bind("MobileNo") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Email" ItemStyle-Width="15%" SortExpression="Email" HeaderStyle-HorizontalAlign="Left"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="EmailLabel" runat="server" Text='<%# Bind("EmailId") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="WhatsApp ContactNo" ItemStyle-Width="10%" SortExpression="WhatsAppContactNo" HeaderStyle-HorizontalAlign="Left"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="WhatsAppContactNoLabel" runat="server" Text='<%# Bind("WhatsAppContactNo") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Failure Log Date" ItemStyle-Width="10%" SortExpression="FailureLogDate" HeaderStyle-HorizontalAlign="Left"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="FailureLogDateLabel" runat="server" Text='<%# Bind("FailureLogDate") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="OS Type" ItemStyle-Width="10%" SortExpression="OSType" HeaderStyle-HorizontalAlign="Left"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="OSTypeLabel" runat="server" Text='<%# Bind("OSTypeTitle") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                    </Columns>
                                                                                    <PagerSettings Visible="False" />
                                                                                </asp:GridView>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </asp:Panel>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <%-- </div>--%>
                            </asp:Panel>
                        </div>
                        <!-- Sub Container2 Box Ends -->
                    </div>
                </div>
                <div class="spacer">
                    <img src="../../../Images/spacer.gif" />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/user-log-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/user-log")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
