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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%--<%@ Register Src="~/UserControls/Common/ScreenGroup/SuperAdminScreenGroup.ascx" TagName="SuperAdminScreenGroupControl" TagPrefix="SuperAdminScreenGroup" %>--%>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DataPickerControl"
    TagPrefix="HIMS" %>
<%@ Register Assembly="TimePicker" Namespace="MKB.TimePicker" TagPrefix="timePicker" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <table width="0px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <%-- <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="153"
                                                Visible="true" runat="server" />--%>
                                            <%-- <SuperAdminScreenGroup:SuperAdminScreenGroupControl EnableViewState="true" ID="ScreenGroupControl"
                                                ScreenGroupId="153" Visible="true" runat="server" />--%>
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="250"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <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"
                                            CssClass="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="SearchOrganizationLabel" runat="server" Text="Organization"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchOrganizationDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchModuleLabel" Text="Module" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchModuleDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchSupportcategoryLabel" Text="Support Category" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchSupportcategoryDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchPriorityIdLabel" Text="Priority" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchPriorityIdDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <timePicker:TimeSelector ID="TimeSelector1" runat="server" Style="display: none" />
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchStatusIdLabel" Text="Status" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchStatusIdDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchlblFromDate" runat="server" SkinID="MandatoryLabel" Text="From Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <HIMS:DataPickerControl DisplayDatePicker="true" ID="SearchtxtFromDate"
                                                    Visible="True" runat="Server"></HIMS:DataPickerControl>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchlblTillDate" runat="server" SkinID="MandatoryLabel" Text="To Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <HIMS:DataPickerControl DisplayDatePicker="true" ID="SearchtxtTillDate"
                                                    Visible="True" runat="Server"></HIMS:DataPickerControl>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchVidyalayaTicketNoLabel" Text="Vidylaya Ticket Number" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchVidyalayaTicketNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="Server" MaxLength="100"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="cBoth">
                                        </div>
                                        <div class="alignCenter pTop5">
                                            <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click"
                                                SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" OnClick="ResetButton_Click" />
                                            <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" CssClass="btn-examcommon btn fas" SkinID="0" OnClick="ExportButton_Click" />
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12 pTop5" runat="server">
                                        <div id="NewsDetailDiv" visible="false" runat="server">
                                            <%--<div class="spacer">
                                                <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                            </div>--%>
                                            <div class="himsBoxHeader" id="NewsDiv" 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 class="col-md-12 padd-0">

                                                        <div class="col-md-5" id="AddRowtoGrid" style="display: none">
                                                            <asp:Label ID="RecordsPerPage" Text="Records per Page : " runat="server" />
                                                            <asp:DropDownList ID="AddRowsToGridDropDownList" SkinID="CustomWidthDropDownList" Width="60px" runat="server"
                                                                AutoPostBack="true" OnSelectedIndexChanged="AddRowsToGridDropDownList_SelectedIndexChanged">
                                                                <asp:ListItem Text="10" Value="10" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="20" Value="20"></asp:ListItem>
                                                                <asp:ListItem Text="50" Value="50"></asp:ListItem>
                                                                <asp:ListItem Text="100" Value="100"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                        <div class="col-md-7" style="float: right; margin-bottom: 0.5%">
                                                            <uc1:GridViewPager ID="PrintTemplateGridView_GridViewPager" runat="server" OnFirstRecordClick="PrintTemplateGridView_GridViewPager_FirstRecordClick"
                                                                OnLastRecordClick="PrintTemplateGridView_GridViewPager_LastRecordClick" OnNextRecordClick="PrintTemplateGridView_GridViewPager_NextRecordClick"
                                                                OnPrevRecordClick="PrintTemplateGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="PrintTemplateGridView_GridViewPager_TextBoxValueChange"
                                                                ParentGridView="PrintTemplateGridView" />
                                                        </div>

                                                    </div>
                                                </div>
                                            </div>

                                            <div class="himsBoxContent">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" visible="false">
                                                            <div id="Div4" runat="server" class="table-responsive">
                                                                <asp:GridView ID="PrintTemplateGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    OnRowDataBound="PrintTemplateGridView_RowDataBound" OnPageIndexChanging="PrintTemplateGridView_PageIndexChanging"
                                                                    AllowPaging="true" PageSize="10" CssClass="table table-striped table-bordered table-hover"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="Id" EmptyDataText="No records available!!">
                                                                    <Columns>
                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                    Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="Id" HeaderText="Ticket Number" HeaderStyle-HorizontalAlign="Center"
                                                                            ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" />
                                                                        <asp:BoundField DataField="IssueDescription" HeaderText="Ticket Description" HeaderStyle-HorizontalAlign="left"
                                                                            ItemStyle-Width="15%" />
                                                                        <asp:BoundField DataField="OrganizationName" HeaderText="Organization Name" HeaderStyle-HorizontalAlign="left"
                                                                            ItemStyle-Width="8%" ItemStyle-HorizontalAlign="left" />
                                                                        <asp:BoundField DataField="contactname" HeaderText="Contact Name" HeaderStyle-HorizontalAlign="left"
                                                                            ItemStyle-Width="10%" />
                                                                        <asp:BoundField DataField="ContactNo" HeaderText="Contact No" HeaderStyle-HorizontalAlign="left"
                                                                            ItemStyle-Width="7%" />
                                                                        <asp:BoundField DataField="UserName" HeaderText="User Name" HeaderStyle-HorizontalAlign="left"
                                                                            ItemStyle-Width="8%" />
                                                                        <asp:BoundField DataField="VidyalayaTicketNumber" HeaderText="Vidyalaya TicketNo." HeaderStyle-HorizontalAlign="Center"
                                                                            ItemStyle-Width="6%" ItemStyle-HorizontalAlign="Center" />
                                                                        <asp:BoundField DataField="TicketClosingDateTime" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Ticket Closing DateTime" HeaderStyle-HorizontalAlign="left"
                                                                            ItemStyle-Width="14%" />
                                                                        <asp:BoundField DataField="VidyalayaExecutiveName" HeaderText="Vidyalaya Executive Name" HeaderStyle-HorizontalAlign="left"
                                                                            ItemStyle-Width="8%" />
                                                                        <asp:BoundField DataField="CreatedDateTime" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Created DateTime" HeaderStyle-HorizontalAlign="left"
                                                                            ItemStyle-Width="14%" />
                                                                        <asp:BoundField DataField="SupportTicketStatus" HeaderText="Status" HeaderStyle-HorizontalAlign="Center"
                                                                            ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />

                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </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">
                                    <header>
                                        <i class="fas fa-cog"></i>
                                        <asp:Label ID="NewsDetailLabel" runat="server" Text="Maintenance"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">
                                <%--  <table>
                                                <tr>
                                                    <td class="formLabel">
                                                        <div id="NumberOfRecordDiv" runat="server" visible="true">
                                                            <asp:ImageButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                                OnClick="FirstRecordImageButton_Click" />
                                                            <asp:ImageButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                                OnClick="PreviousImageButton_Click" />
                                                            <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" />
                                                            <asp:ImageButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" />
                                                            <asp:ImageButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                                OnClick="LastRecordImageButton_Click" />
                                                        </div>
                                                    </td>
                                                    <td>
                                                        <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                            CssClass="BackButton" Text="Back" />
                                                    </td>
                                                </tr>
                                            </table>--%>

                                <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                    <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                        runat="server" 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" 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" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Next"
                                                    OnClick="NextImageButton_Click">
                                                     <i class="fa fa-play"></i>
                                                </asp:LinkButton>

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

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

                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="tableContainer">
                                    <div class="contentHolder">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ProductIdLabel" Text="Product Id" runat="server" SkinID="MandatoryLabel" meta:resourcekey="ProductIdLabelResource"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <%--  <asp:TextBox ID="ProductIdTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" meta:resourcekey="ProductIdTextBoxResource"
                                                    MaxLength="95" Enabled="False">1</asp:TextBox>--%>
                                                <asp:DropDownList runat="server" ID="AddProductIdDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()" Enabled="false">
                                                </asp:DropDownList>
                                                <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                                            </div>
                                        </div>


                                        <%--<div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OrgGroupIdLabel" runat="server" Text="Organisation Group" SkinID="MandatoryLabel"></asp:Label>
                                            </div>                                           
                                            <div class="fLeft pRight5">                                                
                                                <asp:DropDownList runat="server" ID="OrgGroupIdDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    OnSelectedIndexChanged="OrgGroupIdDropDownList_SelectedIndexChanged">
                                                    
                                                </asp:DropDownList>
                                            </div>
                                        </div>  --%>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OrgIdLabel" runat="server" Text="Organization" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="OrgIdDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AddLicenseNoLabel" Text="Licence Number" runat="server" SkinID="MandatoryLabel" meta:resourcekey="AddLicenseNoLabelResource"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="AddLicenseNoTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" meta:resourcekey="AddLicenseNoTextBoxResource"
                                                    MaxLength="95" Enabled="False"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ModuleIdLabel" runat="server" Text="Module" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ModuleIdDropDownList" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                    onmouseleave="showHideTooltip()" OnSelectedIndexChanged="ModuleIdDropDownList_SelectedIndexChanged" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SupportCategoryIdLabel" runat="server" Text="Support Category" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SupportCategoryIdDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()" Enabled="false">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <%--<div class="outerBox pTop5  col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="HourLabel" runat="server" Text="Hours" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="HoursDropDownList" CssClass="form-control" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5  col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="MiuntesLabel" runat="server" Text="Minutes" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="MinutesDropDownList" CssClass="form-control" runat="server"></asp:DropDownList>
                                                </div>
                                            </div> --%>


                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AddContactNameLabel" Text="Contact Name" runat="server" SkinID="MandatoryLabel" meta:resourcekey="AddContactNameLabelResource"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="AddContactNameTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" meta:resourcekey="AddContactNameTextBoxResource"
                                                    MaxLength="95"></asp:TextBox>
                                                <%--<asp:HiddenField ID="MaxRowHiddenField" runat="server" />--%>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AddContactNumberLabel" Text="Contact Number" runat="server" SkinID="MandatoryLabel" meta:resourcekey="AddContactNumberLabelResource"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="AddContactNumberTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" meta:resourcekey="AddContactNumberTextBoxResource"
                                                    MaxLength="10" TextMode="Phone"></asp:TextBox>
                                                <%--<asp:HiddenField ID="MaxRowHiddenField" runat="server" />--%>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AddAlternateContactNumberLabel" Text="Alternate Contact Number" runat="server" meta:resourcekey="AddAlternateContactNumberLabelResource"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="AddAlternateContactNumberTextBox1" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" meta:resourcekey="AddAlternateContactNumberTextBoxResource"
                                                    MaxLength="10" TextMode="Phone"></asp:TextBox>
                                                <%--<asp:HiddenField ID="MaxRowHiddenField" runat="server" />--%>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SupportTicketStatusIdLabel" runat="server" Text="Support Ticket Status" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SupportTicketStatusIdDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SupportPriorityLabel" runat="server" Text="Support Priority" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SupportPriorityDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="StartTimeLabel" runat="server" Text="From Convenient Support Time" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <timePicker:TimeSelector ID="StartTimeSelector" runat="server" DisplaySeconds="False"
                                                    SelectedTimeFormat="Twelve" meta:resourcekey="ActivityStartTimeSelectorResource1" class="timepicker"
                                                    AmPm="PM" Date="01/01/0001 12:00:00" Hour="0" Minute="0" Second="0" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="EndTimeLabel" runat="server" Text="To Convenient Support Time" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <timePicker:TimeSelector ID="EndTimeselector" runat="server" DisplaySeconds="False"
                                                    SelectedTimeFormat="Twelve" meta:resourcekey="ActivityStartTimeSelectorResource1" class="timepicker"
                                                    AmPm="PM" Date="01/01/0001 12:00:00" Hour="0" Minute="0" Second="0" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="UsernameLabel" Text="UserName" runat="server" meta:resourcekey="UsernameLabelResource" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="UsernameTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" meta:resourcekey="UsernameTextBoxResource"
                                                    MaxLength="95" Enabled="false"></asp:TextBox>
                                                <%--<asp:HiddenField ID="MaxRowHiddenField" runat="server" />--%>
                                            </div>
                                        </div>

                                        <%--   <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="CreatedUserIdLabel1" runat="server" Text="Created User Id" SkinID="MandatoryLabel"></asp:Label>
                                            </div>                                           
                                            <div class="fLeft pRight5">                                                
                                                <asp:DropDownList runat="server" ID="CreatedUserIdDropDownList1" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()" AutoPostBack="true">
                                                    
                                                </asp:DropDownList>
                                            </div>
                                        </div> --%>


                                        <%--<div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="DeadlineDateLabel" runat="server" Text="Deadline Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <hims:datapickercontrol displaydatepicker="true" id="DeadlineDatapickercontrol"
                                                    visible="True" runat="Server"></hims:datapickercontrol>
                                            </div>
                                        </div>  --%>


                                        <%--   <div class="timepicker outerBox pTop15 col-md-3">
                                        <timePicker:TimeSelector ID="CreatedDateTimeSelector" runat="server" DisplaySeconds="False"
                                            SelectedTimeFormat="Twelve" AmPm="AM"  Date="" Hour="0" Minute="0" visible="true"
                                            Second="0" meta:resourcekey="CreatedDateTimeSelectorResource" CssClass="pTop5" />
                                        </div>--%>

                                        <%--<div class="outerBox pTop5 col-md-3">
                        
                                                <timePicker:TimeSelector ID="UpdatedDateTimeSelector2" runat="server" DisplaySeconds="False"
                                                    SelectedTimeFormat="Twelve" Date="" Hour="0" Minute="0" Enabled="true"
                                                    Second="0" meta:resourcekey="UpdatedDateTimeSelectorResource1" CssClass="pTop5" AmPm="AM" Width="25px"  />                                   
                                        </div>--%>
                                        <div id="DivRequestNO" runat="server" visible="false">
                                            <div class="outerBox col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="AddRequestNOLabel" Text="Request No:" runat="server" meta:resourcekey="AddRequestNoLabelResource"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="AddRequestNumberTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" meta:resourcekey="AddRequestNumberTextBoxResource"
                                                        MaxLength="95" Enabled="false"></asp:TextBox>
                                                    <%--<asp:HiddenField ID="MaxRowHiddenField" runat="server" />--%>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-6"></div>
                                        <div class="outerBox pTop5 col-md-12" id="VidyalayaTicketNoDiv" runat="server" visible="true">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="VidyalayaTicketNumberLabel" Text="Vidyalaya Ticket No." runat="server" meta:resourcekey="UsernameLabelResource"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:Label ID="VidyalayaTicketNumberValueLabel" runat="server" meta:resourcekey="UsernameLabelResource"></asp:Label>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-6">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblWorkDesc" runat="server" Text="Ticket Description"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="txtWorkDescription" runat="server" MaxLength="500" SkinID="CustomWidthTextBox" Height="60" Width="500" TextMode="MultiLine"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-6">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AddIssueStepLabel" runat="server" Text="Issue Steps"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="AddIssueStepTextBox" runat="server" MaxLength="500" SkinID="CustomWidthTextBox" Height="60" Width="500" TextMode="MultiLine"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div id="DivNote" runat="server" class="outerBox pTop5 col-md-12">
                                            <div class="alert alert-info" style="margin-top: 32px">
                                                <i class="material-icons">info</i> | &nbsp;
                                                    <b>Note : </b>You will get Vidyalaya Ticket Number in next 10 to 15 mins.
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-6"></div>

                                        <div class="outerBox pTop5 col-md-12">
                                            <div class="alignCenter pTop5">
                                                <asp:Button ID="ReOpenButton" runat="Server" OnClick="ReOpenButton_Click"
                                                    SkinID="0" CssClass="btn btn-danger" Text="Re-Open" Visible="false" />
                                                <asp:Button ID="EscalateL2Button" runat="server" Text="Escalate L2" CssClass="btn-clear btn" SkinID="0" OnClick="EscalateL2Button_Click" Visible="false" />
                                                <asp:Button ID="EscalateL3Button" runat="server" Text="Escalate L3" CssClass="btn-clear btn" SkinID="0" OnClick="EscalateL3Button_Click" Visible="false" />
                                                <asp:Button ID="LogDetailButton" runat="server" Text="LogDetail" CssClass="btn-examcommon btn" SkinID="0" OnClick="LogDetailButton_Click" Visible="false" />
                                            </div>
                                        </div>
                                        <div class="pTop5 col-md-12"></div>
                                    </div>
                                </div>
                                <div id="AddDiv1" class="himssuHeader7WireBox col-md-12 pTop5" runat="server">
                                    <div id="AddNewDiv" visible="false" runat="server">

                                        <div class="himsBoxHeader card-head inner" id="AddModuleDiv" visible="false" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle" style="width: 99%">
                                                <div class="headerText fLeft">
                                                    <header>
                                                        <asp:Label ID="ModuleLabel" Text="Same Module Pending Request" runat="server" />
                                                    </header>
                                                </div>
                                                <%-- <div class="col-md-12 padd-0">

                                                    <div class="col-md-5">
                                                        
                                                    </div>
                                                    <div class="col-md-7" style="float: left">
                                                        <uc1:GridViewPager ID="AddGridView1Pager1" runat="server" OnFirstRecordClick="AddGridView1Pager1_FirstRecordClick"
                                                            OnLastRecordClick="AddGridView1Pager1_LastRecordClick" OnNextRecordClick="AddGridView1Pager1_NextRecordClick"
                                                            OnPrevRecordClick="AddGridView1Pager1_PrevRecordClick" OnTextBoxValueChange="AddGridView1Pager1_TextBoxValueChange"
                                                            ParentGridView="AddGridView1" />
                                                    </div>

                                                </div>--%>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">
                                            <asp:UpdatePanel ID="AddGridUpdatePanel1" runat="server" UpdateMode="Always">
                                                <ContentTemplate>
                                                    <div id="AddDiv2" runat="server" visible="false">
                                                        <div id="AddDiv3" runat="server" class="table-responsive">
                                                            <asp:GridView ID="AddGridView1" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                OnRowDataBound="AddGridView1_RowDataBound" OnPageIndexChanging="AddGridView1_PageIndexChanging" CssClass="table table-striped table-bordered table-hover"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="Id">
                                                                <Columns>

                                                                    <asp:BoundField DataField="Module" HeaderText="Module" HeaderStyle-HorizontalAlign="left"
                                                                        ItemStyle-Width="8%" />
                                                                    <%--<asp:BoundField DataField="SupportCategory" HeaderText="Support Category" HeaderStyle-HorizontalAlign="left"
                                                                                ItemStyle-Width="10%" />--%>
                                                                    <%--<asp:BoundField DataField="CreatedDateTime" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Created Date And Time" HeaderStyle-HorizontalAlign="left"
                                                                                ItemStyle-Width="10%" />--%>
                                                                    <asp:BoundField DataField="Id" HeaderText="Ticket Number" HeaderStyle-HorizontalAlign="Center"
                                                                        ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
                                                                    <asp:BoundField DataField="IssueDescription" HeaderText="Ticket Description" HeaderStyle-HorizontalAlign="left"
                                                                        ItemStyle-Width="18%" />
                                                                    <asp:BoundField DataField="IssueSteps" HeaderText="Issue Steps" HeaderStyle-HorizontalAlign="left"
                                                                        ItemStyle-Width="18%" />
                                                                    <asp:BoundField DataField="SupportTicketStatus" HeaderText="Status" HeaderStyle-HorizontalAlign="Center"
                                                                        ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />



                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </div>
                                    </div>
                                </div>
                                <div id="LogDetailDiv" class="himssuHeader7WireBox col-md-12 pTop5" runat="server">
                                    <div id="LogDetailDiv2" visible="false" runat="server">

                                        <div class="himsBoxHeader card-head inner" id="LogDetailDiv3" visible="false" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle" style="width: 99%">
                                                <div class="headerText fLeft">
                                                    <header>
                                                        <asp:Label ID="LogDetailLabel" Text="Log Detail" runat="server" />
                                                    </header>
                                                </div>
                                                <div class="outerBox pTop5 col-md-6"></div>
                                                <%--<div class="himsBoxTitle">
                                                    <div class="headerText fLeft">
                                                        <header>
                                                            <asp:Label ID="AdmissionDetailLabel" Text="Admission Detail" runat="server" />
                                                        </header>
                                                    </div>
                                                </div>--%>
                                                <%--<div class="col-md-12 padd-0">

                                                    <div class="col-md-5">
                                                      
                                                    </div>
                                                    <div class="col-md-7" style="float: left;">
                                                        <uc1:GridViewPager ID="LogDetailGridViewPager" runat="server" OnFirstRecordClick="LogDetailGridViewPager_FirstRecordClick"
                                                            OnLastRecordClick="LogDetailGridViewPager_LastRecordClick" OnNextRecordClick="LogDetailGridViewPager_NextRecordClick"
                                                            OnPrevRecordClick="LogDetailGridViewPager_PrevRecordClick" OnTextBoxValueChange="LogDetailGridViewPager_TextBoxValueChange"
                                                            ParentGridView="LogDetailGridView" />
                                                    </div>

                                                </div>--%>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">
                                            <asp:UpdatePanel ID="LogUpdatePanel" runat="server" UpdateMode="Always">
                                                <ContentTemplate>
                                                    <div id="LogDiv2" runat="server" visible="false">
                                                        <div id="LogDiv3" runat="server" class="table-responsive">
                                                            <asp:GridView ID="LogDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                OnRowDataBound="LogDetailGridView_RowDataBound" OnPageIndexChanging="LogDetailGridView_PageIndexChanging" CssClass="table table-striped table-bordered table-hover"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false">
                                                                <Columns>


                                                                    <%--<asp:BoundField DataField="SupportCategory" HeaderText="Support Category" HeaderStyle-HorizontalAlign="left"
                                                                                ItemStyle-Width="10%" />--%>
                                                                    <%--<asp:BoundField DataField="CreatedDateTime" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Created Date And Time" HeaderStyle-HorizontalAlign="left"
                                                                                ItemStyle-Width="10%" />--%>
                                                                    <asp:BoundField DataField="User" HeaderText="User" HeaderStyle-HorizontalAlign="Center"
                                                                        ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
                                                                    <asp:BoundField DataField="CreatedDateTime" HeaderText="Created DateTime" HeaderStyle-HorizontalAlign="left"
                                                                        ItemStyle-Width="18%" />
                                                                    <asp:BoundField DataField="Action" HeaderText="Action" HeaderStyle-HorizontalAlign="left"
                                                                        ItemStyle-Width="18%" />
                                                                    <asp:BoundField DataField="Remark" HeaderText="Remark" HeaderStyle-HorizontalAlign="Center"
                                                                        ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />



                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/channel-master-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/channel-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'>

    </script>


    <%-- <script type="text/javascript" language="javascript">
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
            function EndRequestHandler(sender, args) {
                if (args.get_error() != undefined) {
                    args.set_errorHandled(true);
                }
            }
    </script>--%>
    <style>
        .timepicker img {
            position: relative;
            top: -6px;
            right: -7px;
        }
    </style>
</asp:Content>
