<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_FrontOffice_LostFoundRegister, App_Web_hpoycyi1" 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 Assembly="TimePicker" Namespace="MKB.TimePicker" TagPrefix="timePicker" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
         <Triggers>
            <asp:PostBackTrigger ControlID="ExportButton" />
        </Triggers>
        <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">
                        <div class="himsBoxContent">
                            <div class="leftUlMenu">
                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="168"
                                    Visible="true" runat="server" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <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="AddNewButtonID" 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="SerachOrganization" runat="server" Text="Organization"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SerachOrganizationDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthDropDownList" class="form-control" runat="server">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchFoundNumberLabel" runat="server" Text="Found Number"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchFoundNumberTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server"> </asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SerachLoststatusLabel" runat="server" Text="Lost Status"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SerachLoststatusDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    class="form-control" SkinID="CustomWidthDropDownList" runat="server">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="cBoth"></div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date" Visible="true"></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"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" Visible="true"
                                                    runat="server" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>

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

                                <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                    <div id="ReasonMasterDetailDiv" visible="false" runat="server">

                                        <div class="himsBoxHeader">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent pTop5">
                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                <ContentTemplate>
                                                    <div id="Div5" runat="server" visible="false">
                                                        <div class="table-responsive">
                                                            <asp:GridView ID="LostFoundRegisterGridView" runat="server" AutoGenerateColumns="False"
                                                                OnRowDataBound="LostFoundRegisterGridView_RowDataBound" OnPageIndexChanging="LostFoundRegisterGridView_PageIndexChanging"
                                                                AllowPaging="false" SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                DataKeyNames="LostFoundRegisterId,OrgGroupId,OrgId,Title" EmptyDataText="No records Found !!!" 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="LinkButton_Click"
                                                                                Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Found Number" ItemStyle-Width="10%"
                                                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="FNumberLabel" runat="server" Text='<%# Bind("FoundNumber") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Found Date" ItemStyle-Width="10%"
                                                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelFoundDate" runat="server" Text='<%# Bind("FoundDate","{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Item Type" ItemStyle-Width="10%"
                                                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelItemType" runat="server" Text='<%# Bind("ItemType") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Item Description" ItemStyle-Width="10%"
                                                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelItemDescription" runat="server" Text='<%# Bind("ItemDescription") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Lost Found Status" ItemStyle-Width="10%"
                                                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelLostFoundStatus" runat="server" Text='<%# Bind("Title") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </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">
                                        <header>
                                            <i class="fas fa-registered"></i>
                                            <asp:Label ID="LostFoundRegisterDetailLabel" runat="server" Text=" Lost Found Register"></asp:Label>
                                        </header>

                                    </div>
                                </div>

                                <div class="fRight mt-27">

                                    <div id="NumberOfRecordDiv" class="display-flex pagination" 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>

                                        <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                        &nbsp; 
                                        <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                        &nbsp;
                                        <asp:Label ID="ofLabel" Text="of" runat="server" />
                                        &nbsp; 
                                        <asp:Label ID="TotalRecord" runat="server" />
                                        &nbsp;
                                        <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                            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>
                                    &nbsp;&nbsp;&nbsp;
                                    <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                        class="btn btn-back fas" Text="&#xf30a; Back" />

                                </div>
                            </div>

                            <div class="himsBoxContent card-body">
                                 <asp:Panel ID="Panel2" runat="Server">
                                    <div class="contentHolder">
                                         <div class="tableContainer">
                                              <cc1:TabContainer Width="100%" ID="AssignmentTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                                        meta:resourcekey="AssignmentTabContainerResource1" ActiveTabIndex="0">
                                                <cc1:TabPanel Width="100%" ID="AssignmentDetails" runat="server" HeaderText="Assignment">
                                                      <HeaderTemplate>
                                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                                    <li class="fancyTab"><a><i class="fas fa-comment"></i>&nbsp; Lost Found Register </a></li>
                                                                </ul>
                                                      </HeaderTemplate>
                                                     <ContentTemplate>
                                                                <div class="contentHolder">
                                                        
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="FoundNumberLabel" runat="server" Text="Found Number" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="FoundNumberTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        runat="server" MaxLength="100" SkinID="CustomWidthTextbox" onkeypress="javascript:return isNumber() " Enabled="false"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="FoundDateLabel" runat="server" Text="Found Date" SkinID="MandatoryLabel" Visible="True"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="FoundDatepickerDetail"
                                                                        Visible="True" runat="server" />
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ItemtypeLabel" runat="server" Text="Item Type" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="ItemTypeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        Width="150px" runat="server" MaxLength="150" SkinID="CustomWidthTextbox "></asp:TextBox>
                                                                    <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                                     <asp:HiddenField ID="HiddenField1" runat="server" />
                                                                </div>
                                                            </div>

                                                            <div class="outerBox11 pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ItemDescriptionLabel" Text="Item Description" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="ItemDescriptionTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthTextBox" runat="Server" MaxLength="300" TextMode="MultiLine"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="LostFoundStatusIdLabel" Text="Lost Found Status" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="LostFoundStatusDropDownList" SkinID="CustomWidthDropDownList"
                                                                        class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="LostFoundStatusDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div id="OrganizationDiv" runat="server" visible="false">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="OrganizationLabel" runat="server" Text="Organization"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="OrganizationDropDownList" SkinID="CustomWidthDropDownList"
                                                                            class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="OrganizationDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                             </div>
                                                            <div id="SourceDiv" runat="server" visible="false">
                                                                <div class="outerBox col-md-12 bg-lghtgrey radiobtn">
                                          
                                                                        <asp:RadioButtonList ID="ReaderSourceTypeRadioButtonList" runat="server" RepeatDirection="Horizontal"
                                                                            OnSelectedIndexChanged="ReaderSourceTypeRadioButtonList_OnSelectedIndexChanged"
                                                                            AutoPostBack="true">
                                                                            <asp:ListItem Text="Student" Value="2003" Selected="True"></asp:ListItem>
                                                                            <asp:ListItem Text="Employee" Value="95"></asp:ListItem>
                                                                            <asp:ListItem Text="Other" Value="1"></asp:ListItem>
                                                                        </asp:RadioButtonList>
                                                                </div>

                                                                <asp:Panel ID="StudentSearchPanel" runat="server">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="StudentIdNoLabel" runat="server" Text="ID No"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5 display-flex">
                                                                            <asp:TextBox ID="StudentIdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" Width="150px" runat="server" MaxLength="200" AutoPostBack="true"
                                                                                OnTextChanged="StudentIdNoTextBox_TextChanged">
                                                                            </asp:TextBox>
                                                                            <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentIdNoImageButton"
                                                                                runat="server" />
                                                                            <asp:HiddenField ID="ReaderSourceIdHiddenField" runat="server" />
                                                                            <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="StudentNameLabel" runat="server" Text="Name"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="StudentNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ClassLabel" runat="server" Text="Class"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="ClassTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                                        </div>
                                                                    </div>

                                                                </asp:Panel>
                                                                <asp:Panel ID="EmployeeSearchPanel" runat="server" Visible="false">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="EmployeeIdNoLabel" runat="server" Text="Code"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5 display-flex">
                                                                            <asp:TextBox ID="EmployeeIdNoTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                                                MaxLength="200" AutoPostBack="true" OnTextChanged="EmployeeIdNoTextBox_TextChanged">
                                                                            </asp:TextBox>
                                                                            <asp:ImageButton SkinID="FindImage" ToolTip="Employee Search" ID="EmployeeIdNoImageButton"
                                                                                runat="server" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="EmployeeNameLabel" runat="server" Text="Name"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="EmployeeNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="DepartmentTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                                        </div>
                                                                    </div>

                                                                </asp:Panel>
                                                                <asp:Panel ID="OwnerDetailPanel" runat="server" Visible="false">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label2" Text="Owner Detail" runat="server"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">

                                                                            <asp:TextBox ID="OwnerDetailTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" runat="Server" MaxLength="200"></asp:TextBox>
                                                                        </div>
                                                                    </div>

                                                                </asp:Panel>
                                                            </div>

                                                            <div class="outerBox11 pTop5 col-md-3">
                                                                <asp:Image ID="ItemPhoto" runat="server" Height="100px" Width="100px" />
                                                            </div>


                                                            <div class="alignCenter pTop15 col-md-12 pb5 mt2">

                                                                <asp:Button runat="server" ID="RefreshButton" Text="&#xf2f9; Refresh" OnClick="RefreshButton_OnClick" SkinID="0"
                                                                    class=" btn-refresh btn fas" />
                                                                <asp:Button ID="AddItemPhotoButton" Text=" &#Xf302; Add Item Photo" runat="Server"
                                                                    SkinID="0" CssClass="btn-webcam btn fas" OnClick="AddItemPhotoButton_Click" />
                                                            </div>
                                                                    </div>
                                                         </ContentTemplate>
                                              </cc1:TabPanel>
                                                     <cc1:TabPanel Width="100%" ID="AssignmentScope" ClientIDMode="Static" runat="server" HeaderText="Assign To">
                                                            <HeaderTemplate>
                                                                 <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                                      <li class="fancyTab"><a><i class="fas fa-comment"></i>&nbsp;Assign To </a></li>
                                                                 </ul>
                                                            </HeaderTemplate>
                                                            <ContentTemplate>
                                                                <div class="contentHolder">
                                                                    <table style="width: 100%">
                                                                        <tr>
                                                                            <td style="width: 50%; vertical-align: top">
                                                                                <div id="Div2" class="himssuHeader6WireBox col-md-12" runat="server" visible="true" style="width: 99%; height: 100%">
                                                                                    <div class="himsBoxHeader card-head inner" id="Div8" runat="server" visible="True">
                                                                                        <div class="leftdiv">
                                                                                        </div>
                                                                                        <div class="himsBoxTitle">
                                                                                            <div class="gridHeaderText">
                                                                                                <header>
                                                                                                <asp:Label ID="Label6" Text="Assign To Student"
                                                                                                    runat="server" />
                                                                                                </header>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                                    <div class="himsBoxContent card-body">
                                                                                        <div id="Div10" class="himsBoxContentMsg" runat="server"
                                                                                            visible="False">
                                                                                        </div>
                                                                                        <asp:GridView ID="ClassGridView" runat="server" AutoGenerateColumns="False" class="himssuHeader7WireBox col-md-12 table-responsive"
                                                                                            EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered"
                                                                                            AllowPaging="false" ShowHeader="true"
                                                                                            DataKeyNames="SourceId">
                                                                                            <Columns>
                                                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                                                    <HeaderTemplate>
                                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                                        <asp:CheckBox ID="HeaderIsObsoleteCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                                            <span></span>
                                                                                                        </label>
                                                                                                    </HeaderTemplate>
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                    <ItemTemplate>
                                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                                        <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" Checked='<%# Eval("IsObsolete") %>' />
                                                                                                            <span></span>
                                                                                                        </label>
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:BoundField DataField="ClassDept" HeaderText="Class" ItemStyle-Width="93%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>

                                                                                            </Columns>
                                                                                            <PagerSettings Visible="False" />
                                                                                        </asp:GridView>
                                                                                    </div>
                                                                                </div>
                                                                            </td>
                                                                            <td style="width: 50%; vertical-align: top">
                                                                                <div id="Div6" class="himssuHeader6WireBox col-md-12" runat="server" visible="true" style="width: 99%; height: 100%">
                                                                                    <div class="himsBoxHeader card-head inner" id="Div7" runat="server" visible="True">
                                                                                       
                                                                                        <div class="himsBoxTitle">
                                                                                            <div class="gridHeaderText ">
                                                                                                <header>
                                                                                                <asp:Label ID="Label5" Text="Assign To Employee"
                                                                                                    runat="server" />
                                                                                                </header>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                                    <div class="himsBoxContent">
                                                                                        <div id="Div9" class="himsBoxContentMsg" runat="server"
                                                                                            visible="False">
                                                                                        </div>
                                                                                        <asp:GridView ID="DepartmentGridView" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-bordered"
                                                                                            EmptyDataText="No Records Found !!" class="himssuHeader7WireBox col-md-12 table-responsive"
                                                                                            AllowPaging="false" ShowHeader="true"
                                                                                            DataKeyNames="SourceId">
                                                                                            <Columns>
                                                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                                                    <HeaderTemplate>
                                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                                        <asp:CheckBox ID="HeaderIsObsoleteCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                                            <span></span>
                                                                                                        </label>
                                                                                                    </HeaderTemplate>
                                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                                    <ItemTemplate>
                                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                                        <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" Checked='<%# Eval("IsObsolete") %>' />
                                                                                                            <span></span>
                                                                                                        </label>
                                                                                                    </ItemTemplate>
                                                                                                </asp:TemplateField>
                                                                                                <asp:BoundField DataField="ClassDept" HeaderText="Department" ItemStyle-Width="93%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>

                                                                                            </Columns>
                                                                                            <PagerSettings Visible="False" />
                                                                                        </asp:GridView>
                                                                                    </div>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </div>
                                                            </ContentTemplate>
                                                        </cc1:TabPanel>
                                            </cc1:TabContainer>
                                        </div>
                                    </div>
                              </asp:Panel>
                                </td>    
                            </div>
                        </div>
                    
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
