<%@ control language="VB" autoeventwireup="false" inherits="RCC_HelpDesk_ViewTicket, MachSol.MachPanel.Web" %>


<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TagPrefix="cc1" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<script type="text/javascript" language="javascript">
    function autoUploadFile() {
        $get('<% =btn_upload.ClientID%>').click();
    }

    //$(document).ready(function () {
    //    setTimeout(function () {
    //        SetDoubleScroll();
    //    }, 500);


    //});
    //function SetDoubleScroll() {

    //    if ($(".double-scroll-wrapper2 table").get(0)) {

    //        //var tableWidth = $(".double-scroll-wrapper2 table").get(0).style.width;
    //        //alert($(window).width());
    //        //alert($(".double-scroll-wrapper2 table").get(0).getBoundingClientRect().width);
    //        var tableWidth = $(".double-scroll-wrapper2 table").get(0).getBoundingClientRect().width;

    //        $(".double-scroll-wrapper2 div").first().width(tableWidth);

    //        $(".double-scroll-wrapper1 div").first().width(tableWidth);

    //        $(".double-scroll-wrapper1").scroll(function () {
    //            $(".double-scroll-wrapper2")
    //                .scrollLeft($(".double-scroll-wrapper1").scrollLeft());
    //        });

    //        $(".double-scroll-wrapper2").scroll(function () {
    //            $(".double-scroll-wrapper1")
    //                .scrollLeft($(".double-scroll-wrapper2").scrollLeft());
    //        });

    //        $pagerrow = $(".double-scroll-wrapper2 table .pager-row").clone();

    //        $(".double-scroll-wrapper2 table .pager-row").remove();

    //        $(".double-scroll-wrapper2").parent().append($pagerrow);

    //    }
    //}
</script>
<div class="col-xs-12">
    <div class="card">

        <div class="header" id="Div_Header" runat="server">
            <h3>
                <%= Resources.Content.GN0000366%>
                
            </h3>
        </div>
        <div class="body">
            <ajax:UpdatePanel ID="UP_Filter" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:Panel ID="Pnl_Search" runat="server" DefaultButton="Btn_Search">
                        <div class="row">
                            <div class="panel-group search-panel" id="AS_ClientList" role="tablist" aria-multiselectable="true">
                                <div class="col-xs-12" role="tab">
                                    <div class="card">
                                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ClientList" href="#<%= CSB_ClientList.ClientID %>" aria-expanded="true" aria-controls="SH_ClientList">
                                            <h3>
                                                <%= Resources.Content.GN0000395%>
                                            </h3>
                                        </div>
                                        <div id="CSB_ClientList" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ClientList" aria-expanded="false">
                                            <div class="row">
                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="TD_Owner">
                                                    <div class="form-group form-float">
                                                        <asp:Button ID="btn_upload" runat="server" Style="display: none;" CausesValidation="false" />
                                                        <asp:DropDownList ID="DDL_Owner" runat="server" onchange="autoUploadFile();setOwnerCookie(this);" />
                                                    </div>
                                                </div>
                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div1">
                                                    <div class="form-group form-float">
                                                        <asp:DropDownList ID="DDL_Departments" runat="server">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div2">
                                                    <div class="form-group form-float">
                                                        <asp:DropDownList ID="DDL_Fields" runat="server">
                                                            <asp:ListItem Selected="True" Text="<%$ Resources:Content,GN0000389%>" Value="-1"></asp:ListItem>
                                                            <asp:ListItem Text="<%$ Resources:Content,SPT002758%>" Value="0"></asp:ListItem>
                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000390%>" Value="1"></asp:ListItem>
                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000371%>" Value="2"></asp:ListItem>
                                                            <asp:ListItem Text="<%$ Resources:Content,GN0000268%>" Value="3"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_SearchString" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SearchValue%>" class="form-label"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-xs-12">
                                                    <div class="form-group form-float">
                                                        <asp:Button ID="Btn_Search" runat="server" SkinID="searchButton" Text='<%$ Resources:Content,GN0000391 %>' CssClass="btn btn-primary waves-effect" />
                                                        <asp:Button ID="Btn_Clear" Visible="false" runat="server" SkinID="searchButton"
                                                            Text='<%$ Resources:Content,String289  %>' CssClass="btn btn-primary waves-effect" />
                                                    </div>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>
                </ContentTemplate>
            </ajax:UpdatePanel>

            <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
                <div class="col-xs-12">

                    <div class="card">
                        <div class="header">
                            <h3>
                                <%= Resources.Content.GN00001320%>                                                                                                                                
                            </h3>
                        </div>

                        <div class="body">
                            <asp:Button ID="Btn_SubmitTicket" runat="server" class="btn btn-primary waves-effect btnAction" Text='New Ticket' PostBackUrl="~/RCC/HelpDesk/SubmitTicket.aspx" CssClass="btn btn-primary" />
                        </div>
                    </div>
                </div>
            </div>

            <ajax:UpdatePanel ID="UP_Tickets" runat="server" UpdateMode="Conditional">

                <ContentTemplate>

                    <div class="row">
                        <div class="col-xs-12">
                            <div class="card">
                                <div class="header">
                                    <h3>
                                        <%= Resources.Content.GN0000401%>                                                                                                                                
                                    </h3>
                                </div>

                                <div class="body">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12">
                                            <asp:DropDownList ID="DDL_TimeOut" runat="server">
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000402 %>' Value="4"></asp:ListItem>
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000403 %>' Value="8" Selected="true"></asp:ListItem>
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000404 %>' Value="12"></asp:ListItem>
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000405 %>' Value="16"></asp:ListItem>
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000406 %>' Value="20"></asp:ListItem>
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000407 %>' Value="24"></asp:ListItem>
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000408 %>' Value="28"></asp:ListItem>
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000409 %>' Value="32"></asp:ListItem>
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000410 %>' Value="36"></asp:ListItem>
                                                <asp:ListItem Text='<%$ Resources:Content,GN0000411 %>' Value="40"></asp:ListItem>
                                            </asp:DropDownList>
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <asp:Button ID="Btn_Refresh" runat="server" Width="100px"
                                                Text='<%$ Resources:Content,GN0000412 %>' CssClass="btn btn-primary" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <asp:HiddenField ID="HF_ViewId" Value="0" runat="server" />

                    <div style="display: none">
                        <asp:ListBox ID="LBX_Agents" runat="server"></asp:ListBox>
                    </div>

                    <EM:TabContainer ID="TC_Tickets" runat="server" OnClientActiveTabChanged="loadTabPanel"
                        ActiveTabIndex="1">
                        <EM:TabPanel ID="TP_Active" HeaderText='<%$ Resources:Content,GN0000222 %>' runat="server">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                                <asp:Panel ID="Pnl_TabContent0" runat="server">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="double-scroll-wrapper1">
                                                <div>
                                                </div>
                                            </div>
                                            <div class="double-scroll-wrapper2">
                                                <asp:GridView AllowPaging="false" AllowSorting="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                                                    HorizontalAlign="Center" ID="GV_TicketActive" runat="server" CssClass="table table-bordered table-striped table-hover"
                                                    AutoGenerateColumns="false">
                                                    <Columns>
                                                        <asp:TemplateField HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,GN0000370 %>'>
                                                            <HeaderTemplate>
                                                                <asp:CheckBox class="option-menu" ID="ChkBx_All" name="ChkBx_All" runat="server" Text=" " onclick="IncreaseTimer(this.checked, this,'All');" />

                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <asp:HiddenField ID="HF_TicketId" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.TicketId")%>' />
                                                                <asp:CheckBox ID="ChkBx_All" class="option-menu" runat="server" Text=" " onClick="IncreaseTimer(this.checked, this,'1');" />
                                                                <asp:Image ID="Img_Priority" runat="server" Visible="false" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="TicketNumber" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,REL1061 %>'>
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_TicketNum" Target="_blank" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.TicketNumber")%>'></asp:HyperLink>
                                                                <asp:Image runat="server" ID="Img_Sticky" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="InitialSubject" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1"
                                                            HeaderText='<%$ Resources:Content,GN0000371 %>'>
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_TicketSubj" Target="_blank" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.InitialSubject")%>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="CustomerID" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" HeaderText='<%$ Resources:Content,GN0000850 %>'>
                                                            <ItemTemplate>
                                                                <asp:HiddenField ID="HF_From" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.SenderEmail")%>' />
                                                                <asp:HyperLink ID="LB_CustomerName" Target="_blank" runat="server" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000374 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Department">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField Visible="true" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" SortExpression="CompanyName"
                                                            HeaderText="<%$ Resources:Content, SPT002811%>">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_Owner" runat="server" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,String385 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Status">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0001300 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Priority">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000375 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Agent">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000376 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Idle">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LBtn_Del" runat="server" SkinID="linkButtonRemove" CausesValidation="false"
                                                                    CommandArgument='<%# DataBinder.Eval(Container, "DataItem.TicketId") %>' CommandName="del"
                                                                    Text='<%$ Resources:Content,GN0000377 %>' CssClass="btn btn-primary btn-sm btnAction"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager1" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                    <AlternatingRowStyle CssClass="altRow" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                    <br />

                                    <div class="row" id="Div_ActiveActions" runat="server">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN0000368%>                                                                                                                                
                                                    </h3>
                                                </div>

                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_Options" runat="server">
                                                                    <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN0000380 %>' Value="-1"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000396 %>' Value="0"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000397 %>' Value="1"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000398 %>' Value="2"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000384 %>' Value="3"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_Status" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_CDepartment" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_AssignTo" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="col-sm-3 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:HiddenField ID="HF_AgentId" runat="server" />
                                                                <asp:Button ID="Btn_Change" runat="server" Text='<%$ Resources:Content,GN0000385 %>' CssClass="btn btn-primary btnAction" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>
                        <EM:TabPanel ID="TP_Waiting" HeaderText='<%$ Resources:Content,GN0000413 %>' runat="server">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="double-scroll-wrapper1">
                                                <div>
                                                </div>
                                            </div>
                                            <div class="double-scroll-wrapper2">
                                                <asp:GridView AllowPaging="false" AllowSorting="true" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                    HorizontalAlign="Center" ID="GV_TicketWaiting" runat="server" CssClass="table table-bordered table-striped table-hover"
                                                    AutoGenerateColumns="false">
                                                    <Columns>
                                                        <asp:TemplateField HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,GN0000370 %>'>
                                                            <HeaderTemplate>
                                                                <asp:CheckBox class="option-menu" ID="ChkBx_All" name="ChkBx_All" runat="server" Text=" " onclick="IncreaseTimer(this.checked, this,'All');" />
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <asp:HiddenField ID="HF_TicketId" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.TicketId")%>' />
                                                                <asp:CheckBox class="option-menu" ID="ChkBx_All" runat="server" Text=" " onClick="IncreaseTimer(this.checked, this,'1');" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="TicketNumber" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,REL1061 %>'>
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_TicketNum" Target="_blank" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.TicketNumber")%>'></asp:HyperLink>
                                                                <asp:Image runat="server" ID="Img_Sticky" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="InitialSubject" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1"
                                                            HeaderText='<%$ Resources:Content,GN0000371 %>'>
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_TicketSubj" Target="_blank" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.InitialSubject")%>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="CustomerID" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" HeaderText='<%$ Resources:Content,GN0000850 %>'>
                                                            <ItemTemplate>
                                                                <asp:HiddenField ID="HF_From" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.SenderEmail")%>' />
                                                                <asp:HyperLink ID="LB_CustomerName" Target="_blank" runat="server" />

                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000374 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Department">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField Visible="true" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" SortExpression="CompanyName"
                                                            HeaderText="<%$ Resources:Content, SPT002811%>">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_Owner" runat="server" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,String385 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Status">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000375 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Agent">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0001300 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Priority">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000376 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Idle">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LBtn_Del" runat="server" SkinID="linkButtonRemove" CausesValidation="false"
                                                                    CommandArgument='<%# DataBinder.Eval(Container, "DataItem.TicketId") %>' CommandName="del"
                                                                    Text='<%$ Resources:Content,GN0000377 %>' CssClass="btn btn-primary btn-sm btnAction"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager2" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                    <AlternatingRowStyle CssClass="altRow" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                    <br />

                                    <div class="row" id="Div_WaitingActions" runat="server">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN0000368%>                                                                                                                                
                                                    </h3>
                                                </div>

                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">

                                                                <asp:DropDownList ID="DDL_Options_W" runat="server">
                                                                    <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN0000380 %>' Value="-1"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000396 %>' Value="0"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000397 %>' Value="1"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000398 %>' Value="2"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000384 %>' Value="3"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_Status_W" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_CDepartment_W" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">

                                                                <asp:DropDownList ID="DDL_AssignTo_W" runat="server">
                                                                </asp:DropDownList>
                                                                <%--<asp:ListBox Style="display: none" ID="LBX_Agents_W" runat="server"></asp:ListBox>--%>
                                                            </div>
                                                        </div>

                                                        <div class="col-xs-12">
                                                            <div class="form-group">

                                                                <asp:HiddenField ID="HF_AgentId_W" runat="server" />
                                                                <asp:Button ID="Btn_Change_W" runat="server" Text='<%$ Resources:Content,GN0000385 %>' CssClass="btn btn-primary waves-effect btnAction" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                                <%--actions on ticekt--%>
                            </ContentTemplate>
                        </EM:TabPanel>
                        <EM:TabPanel ID="TP_Closed" HeaderText='<%$ Resources:Content,GN0000414 %>' runat="server">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab2" runat="server" Style="display: none;" />
                                <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="double-scroll-wrapper1">
                                                <div>
                                                </div>
                                            </div>
                                            <div class="double-scroll-wrapper2">
                                                <asp:GridView AllowPaging="false" EmptyDataText="<%$ Resources:Content, GN00001375 %>" HorizontalAlign="Center"
                                                    ID="GV_TicketClosed" AllowSorting="true" runat="server" CssClass="table table-bordered table-striped table-hover"
                                                    AutoGenerateColumns="false">
                                                    <Columns>
                                                        <asp:TemplateField HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,GN0000370 %>'>
                                                            <HeaderTemplate>
                                                                <asp:CheckBox class="option-menu" ID="ChkBx_All" name="ChkBx_All" runat="server" Text=" " onclick="IncreaseTimer(this.checked, this,'All');" />
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <asp:HiddenField ID="HF_TicketId" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.TicketId")%>' />
                                                                <asp:CheckBox ID="ChkBx_All" class="option-menu" runat="server" Text=" " onClick="IncreaseTimer(this.checked, this,'1');" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="TicketNumber" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,REL1061 %>'>
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_TicketNum" Target="_blank" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.TicketNumber")%>'></asp:HyperLink>
                                                                <asp:Image runat="server" ID="Img_Sticky" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="InitialSubject" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1"
                                                            HeaderText='<%$ Resources:Content,GN0000371 %>'>
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_TicketSubj" Target="_blank" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.InitialSubject")%>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="CustomerID" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" HeaderText='<%$ Resources:Content,GN0000850 %>'>
                                                            <ItemTemplate>
                                                                <asp:HiddenField ID="HF_From" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.SenderEmail")%>' />
                                                                <asp:HyperLink ID="LB_CustomerName" Target="_blank" runat="server" />

                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000374 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Department">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField Visible="true" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" SortExpression="CompanyName"
                                                            HeaderText="<%$ Resources:Content, SPT002811%>">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_Owner" runat="server" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,String385 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Status">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0001300 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Priority">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000375 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Agent">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000376 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Idle">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LBtn_Del" runat="server" SkinID="linkButtonRemove" CausesValidation="false"
                                                                    CommandArgument='<%# DataBinder.Eval(Container, "DataItem.TicketId") %>' CommandName="del"
                                                                    Text='<%$ Resources:Content,GN0000377 %>' CssClass="btn btn-primary btn-sm btnAction"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager3" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                    <AlternatingRowStyle CssClass="altRow" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                    <br />

                                    <div class="row" id="Div_ClosedActions" runat="server">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN0000368%>                                                                                                                                
                                                    </h3>
                                                </div>

                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">

                                                                <asp:DropDownList ID="DDL_Options_C" runat="server">
                                                                    <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN0000380 %>' Value="-1"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000396 %>' Value="0"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000397 %>' Value="1"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000398 %>' Value="2"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000384 %>' Value="3"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_Status_C" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_CDepartment_C" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_AssignTo_C" runat="server">
                                                                    <%--<asp:ListItem Style="display: none" ID="LBX_Agents_C" runat="server"></asp:ListItem>--%>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-xs-12">
                                                            <div class="form-group">
                                                                <asp:HiddenField ID="HF_AgentId_C" runat="server" />
                                                                <asp:Button ID="Btn_Change_C" runat="server" Text='<%$ Resources:Content,GN0000385 %>' CssClass="btn btn-primary waves-effect btnAction" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>
                        <EM:TabPanel ID="TP_Other" HeaderText="<%$ Resources:Content,SM400021%>" runat="server">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab3" runat="server" Style="display: none;" />
                                <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="double-scroll-wrapper1">
                                                <div>
                                                </div>
                                            </div>
                                            <div class="double-scroll-wrapper2">
                                                <asp:GridView AllowPaging="false" EmptyDataText="<%$ Resources:Content, GN00001375 %>" HorizontalAlign="Center"
                                                    ID="GV_TicketOther" AllowSorting="true" runat="server" CssClass="table table-bordered table-striped table-hover"
                                                    AutoGenerateColumns="false">
                                                    <Columns>
                                                        <asp:TemplateField HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,GN0000370 %>'>
                                                            <HeaderTemplate>
                                                                <asp:CheckBox class="option-menu" ID="ChkBx_All" name="ChkBx_All" runat="server" Text=" " onclick="IncreaseTimer(this.checked, this,'All');" />
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <asp:HiddenField ID="HF_TicketId" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.TicketId")%>' />
                                                                <asp:CheckBox ID="ChkBx_All" class="option-menu" runat="server" Text=" " onClick="IncreaseTimer(this.checked, this,'1');" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="TicketNumber" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,REL1061 %>'>
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_TicketNum" Target="_blank" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.TicketNumber")%>'></asp:HyperLink>
                                                                <asp:Image runat="server" ID="Img_Sticky" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="InitialSubject" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1"
                                                            HeaderText='<%$ Resources:Content,GN0000371 %>'>
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_TicketSubj" Target="_blank" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.InitialSubject")%>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="CustomerID" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" HeaderText='<%$ Resources:Content,GN0000850 %>'>
                                                            <ItemTemplate>
                                                                <asp:HiddenField ID="HF_From" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.SenderEmail")%>' />
                                                                <asp:HyperLink ID="LB_CustomerName" Target="_blank" runat="server" />

                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000374 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Department">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField Visible="true" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" SortExpression="CompanyName"
                                                            HeaderText="<%$ Resources:Content, SPT002811%>">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_Owner" runat="server" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,String385 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Status">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0001300 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Priority">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000375 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Agent">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000376 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Idle">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LBtn_Del" runat="server" SkinID="linkButtonRemove" CausesValidation="false"
                                                                    CommandArgument='<%# DataBinder.Eval(Container, "DataItem.TicketId") %>' CommandName="del"
                                                                    Text='<%$ Resources:Content,GN0000377 %>' CssClass="btn btn-primary btn-sm btnAction"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager4" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                    <AlternatingRowStyle CssClass="altRow" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                    <br />

                                    <div class="row" id="Div_OtherActions" runat="server">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN0000368%>                                                                                                                                
                                                    </h3>
                                                </div>

                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_Options_O" runat="server">
                                                                    <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN0000380 %>' Value="-1"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000396 %>' Value="0"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000397 %>' Value="1"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000398 %>' Value="2"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000384 %>' Value="3"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_Status_O" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_CDepartment_O" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_AssignTo_O" runat="server">
                                                                </asp:DropDownList>
                                                                <%--<asp:ListBox Style="display: none" ID="LBX_Agents_O" runat="server"></asp:ListBox>--%>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-3 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:HiddenField ID="HF_AgentId_O" runat="server" />
                                                                <asp:Button ID="Btn_Change_O" runat="server" Text='<%$ Resources:Content,GN0000385 %>' CssClass="btn btn-primary waves-effect btnAction" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>
                        <EM:TabPanel ID="TP_Deleted" HeaderText="<%$ Resources:Content,GN0000302%>" runat="server">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab4" runat="server" Style="display: none;" />
                                <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="double-scroll-wrapper1">
                                                <div>
                                                </div>
                                            </div>
                                            <div class="double-scroll-wrapper2">
                                                <asp:GridView AllowPaging="false" EmptyDataText="<%$ Resources:Content, GN00001375 %>" HorizontalAlign="Center"
                                                    ID="GV_TicketDeleted" AllowSorting="true" runat="server" CssClass="table table-bordered table-striped table-hover"
                                                    AutoGenerateColumns="false">
                                                    <Columns>
                                                        <asp:TemplateField HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,GN0000370 %>'>
                                                            <HeaderTemplate>
                                                                <asp:CheckBox class="option-menu" ID="ChkBx_All" name="ChkBx_All" runat="server" Text=" " onclick="IncreaseTimer(this.checked, this,'All');" />
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <asp:HiddenField ID="HF_TicketId" runat="server" Value='<%#DataBinder.Eval(Container, "DataItem.TicketId")%>' />
                                                                <asp:CheckBox ID="ChkBx_All" class="option-menu" runat="server" Text=" " onClick="IncreaseTimer(this.checked, this,'1');" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="TicketNumber" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,REL1061 %>'>
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_TicketNum" runat="server" 
                                                                    Text='<%#DataBinder.Eval(Container, "DataItem.TicketNumber")%>'>
                                                                </asp:Label>
                                                                <asp:Image runat="server" ID="Img_Sticky" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="InitialSubject" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1"
                                                            HeaderText='<%$ Resources:Content,GN0000371 %>'>
                                                            <ItemTemplate>
                                                                <asp:Label ID="LB_TicketSubj" Target="_blank" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.InitialSubject")%>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField SortExpression="CustomerID" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2" HeaderText='<%$ Resources:Content,GN0000850 %>'>
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_CustomerName" Target="_blank" runat="server" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000374 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Department">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField Visible="true" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" SortExpression="CompanyName"
                                                            HeaderText="<%$ Resources:Content, SPT002811%>">
                                                            <ItemTemplate>
                                                                <asp:HyperLink ID="LB_Owner" runat="server" />
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,String385 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Status">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0001300 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Priority">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000375 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Agent">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000376 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <div runat="server" id="div_Idle">
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="LBtn_Restore" runat="server" CausesValidation="false"
                                                                    CommandArgument='<%# DataBinder.Eval(Container, "DataItem.TicketId") %>' CommandName="restore"
                                                                    Text='<%$ Resources:Content,SMI0441 %>' CssClass="btn btn-primary btn-sm"></asp:LinkButton>
                                                                <asp:LinkButton ID="LBtn_Del" runat="server" CausesValidation="false"
                                                                    CommandArgument='<%# DataBinder.Eval(Container, "DataItem.TicketId") %>' CommandName="del"
                                                                    Text='<%$ Resources:Content,GN0000377 %>' CssClass="btn btn-primary btn-sm btnAction"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <%--PagerTemplate Start--%>
                                                    <PagerTemplate>
                                                        <EM:Pager ID="Pager5" runat="server" />
                                                    </PagerTemplate>
                                                    <%--PagerTemplate End--%>
                                                    <AlternatingRowStyle CssClass="altRow" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                    <br />
                                    <div class="row" id="Div_DeletedActions" runat="server">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN0000368%>                                                                                                                                
                                                    </h3>
                                                </div>

                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <asp:DropDownList ID="DDL_Options_D" runat="server">
                                                                    <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN0000380 %>' Value="-1"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,SMI0441 %>' Value="1"></asp:ListItem>
                                                                     <asp:ListItem Text='<%$ Resources:Content,GN0000377 %>' Value="2"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-3 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:Button ID="Btn_Change_D" runat="server" Text='<%$ Resources:Content,GN0000385 %>' CssClass="btn btn-primary waves-effect btnAction" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>
                    </EM:TabContainer>
                </ContentTemplate>
            </ajax:UpdatePanel>
        </div>
    </div>
</div>
