<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hostel_VisitorGatePass, App_Web_qgbsguup" title="Visitor Gate Pass" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ 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/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>
<%@ Register Assembly="TimePicker" Namespace="MKB.TimePicker" TagPrefix="timePicker" %>
<%@ Register Src="~/UserControls/Common/Hostel/HostelDetailBoxControl.ascx" TagName="HostelControl" TagPrefix="Hostel" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <style type="text/css">
        input:disabled + input[type=image], input:read-only + a {
            cursor: not-allowed !important;
            pointer-events: none;
        }

        input:enabled + input[type=image], input:enabled + a {
            pointer-events: visible;
            cursor: pointer !important;
        }
    </style>
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="175"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <Hostel:HostelControl ID="HostelUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server" visible="true">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButton" runat="server" OnClick="AddNewButton_Click" SkinID="0"
                                            class="btn btn-add fas" Text="&#xf067; Add" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchVisitorNameLabel" runat="server" Text="Visitor Name"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchVisitorNametextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server" MaxLength="150"> </asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchOutDateId" runat="server" Text="From Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="SearchOutDateDatePickerControl"
                                                    Visible="True" runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchInDateLabel" runat="server" Text="To Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="SearchInDatePickerControl" Visible="True"
                                                    runat="server" />
                                            </div>
                                        </div>
                                        <br />
                                        <div class="outerBox pTop5 col-md-3 ">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OutLabel" runat="server" Text="Out Time" Visible="False"></asp:Label>
                                            </div>
                                            <div class="timepicker">
                                                <timePicker:TimeSelector ID="TimeSelector1" runat="server" DisplaySeconds="False"
                                                    SelectedTimeFormat="Twelve" AmPm="AM" Date="" Hour="0" Minute="0" Enabled="false"
                                                    Second="0" meta:resourcekey="ActivityStartTimeSelectorResource1" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="WhometoMeetLabel" runat="server" Text="Whom To Meet"></asp:Label>
                                            </div>
                                            <div class="controlLabelWidth">
                                                <asp:DropDownList ID="TypeDropdownList" runat="server" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()"
                                                    OnSelectedIndexChanged="TypeDropdownList_SelectedIndexChanged">
                                                    <asp:ListItem Text="- All -" Value="101" Selected="True"></asp:ListItem>
                                                    <asp:ListItem Text="Other" Value="1"></asp:ListItem>
                                                    <asp:ListItem Text="Employee" Value="95"></asp:ListItem>
                                                    <asp:ListItem Text="Student" Value="2003"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="alignCenter pTop5 col-md-12">
                                            <asp:Button ID="SearchButton" runat="Server" class="btn-search btn fas" OnClick="SearchButton_Click"
                                                SkinID="0" Text="&#xf002; Search" />
                                            <asp:Button ID="ResetButton" runat="server" OnClick="ResetButton_Click" Text="&#xf0e2; Reset" SkinID="0" class="btn-reset btn fas" />
                                            <asp:HiddenField ID="studentHiddenField" runat="server" />
                                            <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" SkinID="0"
                                                CssClass="btn-examcommon btn fas" Enabled="false" OnClick="ExportButton_Click" />
                                        </div>

                                        <div class="cBoth">
                                        </div>
                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <div id="ReasonMasterDetailDiv" visible="false" runat="server">

                                            <div class="himsBoxHeader card-head inner">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="gridHeaderText">
                                                        <header>
                                                            <asp:Label ID="AssignRouteLabel" runat="server" Text="Visitor Gate Pass"></asp:Label>
                                                        </header>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent pTop5">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                            <asp:GridView ID="VisitorGatePassGridView" runat="server" AutoGenerateColumns="False"
                                                                OnRowDataBound="VisitorGatePassGridView_RowDataBound" OnPageIndexChanging="VisitorGatePassGridView_PageIndexChanging"
                                                                AllowPaging="false" SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                EmptyDataText="No records Found !!!" DataKeyNames="Id,WhomToMeetSourceTypeId,WhomToMeetSourceId,NoOfVisitor,PurposeOfVisit,InTime,OutTime"
                                                                CssClass="table table-striped table-bordered table-hover">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="EditLinkButton_Click"
                                                                                Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Type" ItemStyle-Width="10%" SortExpression="Title"
                                                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="SourceTypeLabel" runat="server" Text='<%# ((System.Data.DataRowView)Container.DataItem)["SourceType"] %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText=" Person Name" ItemStyle-Width="10%" SortExpression="Name"
                                                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="NameLabel" runat="server" Text='<%# ((System.Data.DataRowView)Container.DataItem)["Name"] %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Visitor Name" ItemStyle-Width="10%" SortExpression="Title"
                                                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="VisitorLabel" runat="server" Text='<%# ((System.Data.DataRowView)Container.DataItem)["VisitorName"] %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Hostel Name" ItemStyle-Width="10%" SortExpression="Title"
                                                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="HosteltLabel" runat="server" Text='<%# ((System.Data.DataRowView)Container.DataItem)["HostelName"] %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Visit Date" ItemStyle-Width="10%" SortExpression="Title"
                                                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="VisitDateLabel" runat="server" Text='<%# Bind("Visitdate","{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <asp:Label ID="VisitorLogDetailLabel" runat="server" Text="Visitor Gate Pass"></asp:Label>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">
                                <table>
                                    <tr>
                                        <td class="formLabel">
                                            <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                    OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-backward"></i>
                                                </asp:LinkButton>
                                                <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                    OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play fa-rotate-180"></i>
                                                </asp:LinkButton>
                                                &nbsp; &nbsp;
                                                            <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                <asp:Label ID="TotalRecord" runat="server" />
                                                &nbsp; &nbsp;
                                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play"></i>
                                                            </asp:LinkButton>
                                                <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                    OnClick="LastRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-forward"></i>
                                                </asp:LinkButton>
                                            </div>
                                        </td>
                                        <td>&nbsp; &nbsp; 
                                            <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                class="btn btn-back fas" Text="&#xf30a;  Back" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <table>
                                    <tr>
                                        <td align="left">

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="VisitorNameLabel" runat="server" Text="Visitor Name" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="VisitorNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="100">
                                                    </asp:TextBox>
                                                    <asp:HiddenField ID="StudentSearchIdHiddenField" runat="server" />
                                                    <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="fLeft pRight5">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="NoOfVisitorLable" runat="server" Text="No. Of Visitor" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="NoOfVisitorTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="10" onkeypress="return isNumberKey(event)"> </asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="PurposeOfVisitLabel" runat="server" Text="Purpose Of Visit" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="PurposeOfVisitTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="MultiLineTextBox" TextMode="MultiLine" Height="40px" runat="server"
                                                        MaxLength="200" AutoPostBack="false"></asp:TextBox>
                                                    <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-6">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label2" runat="server" Text="Whom To Meet"></asp:Label>
                                                </div>
                                                <div class="controlLabelWidth">
                                                    <asp:RadioButtonList ID="SourceTypeRadioButtonList" runat="server"
                                                        RepeatDirection="Horizontal"
                                                        OnSelectedIndexChanged="SourceTypeRadioButtonList_SelectedIndexChanged" AutoPostBack="true">
                                                        <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" visible="false" id="SearchNamePanel" runat="server">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SerachNameLabel" runat="server" Text="Person Name" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SearchNameTextbox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="100">
                                                    </asp:TextBox>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3" visible="false" id="StudentSearchPanel" runat="server">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StudentNameLabel" runat="server" Text="Student Name" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="StudentNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="150"
                                                        AutoPostBack="true" OnTextChanged="StudentNameTextBox_TextChanged">
                                                    </asp:TextBox>
                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentIdNoImageButton"
                                                        runat="server" OnClick="StudentIdNoImageButton_Click" />
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3" id="EmployeeSearchPanel" runat="server">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="EmployeeNameLabel" runat="server" Text="Employee Name"
                                                        meta:resourcekey="Label7Resource1" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="EmployeeNameTextBox" runat="server" TabIndex="6" SkinID="CustomWidthTextBox"></asp:TextBox>

                                                    <asp:ImageButton ID="EmployeeNameSearchButton" ToolTip="Employee Search" runat="server"
                                                        Style="width: 14px" TabIndex="7" SkinID="FindImage"
                                                        meta:resourcekey="EmployeeNameSearchButtonResource1"
                                                        OnClick="EmployeeNameSearchButton_Click" />
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="VisitDateLabel" runat="server" Text="Visit Date" Visible="true" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="VisitDatePickerControl" Visible="true"
                                                        runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="InTimeLabel" runat="server" Text="From"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 timepicker">
                                                    <timePicker:TimeSelector ID="InTimeSelector" runat="server" DisplaySeconds="False"
                                                        SelectedTimeFormat="Twelve" AmPm="AM" Date="" Hour="0" Minute="0" Visible="true"
                                                        Second="0" meta:resourcekey="ActivityStartTimeSelectorResource1" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OutTimeLabel" runat="server" Text="To"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 timepicker">
                                                    <timePicker:TimeSelector ID="OutTimePicker" runat="server" DisplaySeconds="False"
                                                        SelectedTimeFormat="Twelve" AmPm="AM" Date="" Hour="0" Minute="0" Visible="true"
                                                        Second="0" meta:resourcekey="ActivityStartTimeSelectorResource1" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5">
                                                <div class="fLeft pRight5">
                                                    <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <asp:ImageButton ID="VisitorPhoto" Visible="true" runat="server" Height="80px" Width="80px"
                                                    AlternateText="Upload Photo" Style="border: 1px Solid" />
                                            </div>
                                            <div class="alignCenter pTop5 col-md-12">

                                                <asp:Button ID="UploadWebCamButton" Visible="true" runat="server" Text="&#Xf030; WebCam" SkinID="0"
                                                    class="btn-webcam btn fas" OnClick="WebCamUploadButton_Click" />
                                                <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-apply">
                                                    <i class="fas fa-upload"></i>Browse</a>
                                                <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                                                <asp:Button ID="RefreshButton" runat="server" Text="&#xf2f9; Refresh" class="fas btn btn-refresh" OnClick="RefreshButton_Click"
                                                    SkinID="0" />
                                            </div>
                                            <asp:Label ID="Label10" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                            <div class="cBoth">
                                            </div>
                                        </td>
                                        <%--<td align="center" valign="top">
                                            <div class="cBoth">
                                            </div>
                                            <asp:Image ID="VisitorPhoto" Visible="false" runat="server" Height="80px" Width="80px" AlternateText="Upload Photo" /><br />
                                        </td>--%>
                                    </tr>
                            </div>
                        </div>
                    </div>
                </div>
                </tr>
                    </table>                    
            </div>
            </div>
            </div> </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/visitor-gatepass-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/visitor-gatepass")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
