<%@ control language="VB" autoeventwireup="false" inherits="RCC_Clients_CC_ClientsList, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>


<div class="col-xs-12">
   <%-- <div class="card">
        <div class="body">--%>
            <asp:Panel ID="Pnl_Search" runat="server" CssClass="row" DefaultButton="Btn_Search">
                <div class="panel-group search-panel" id="AS_ClientList">
                    <div class="col-xs-12" id="SH_ClientList">
                        <div class="card">
                            <div class="header">
                                <h3>
                                    <%= Resources.Content.GN0000395%>                                    
                                </h3>

                            </div>
                            <div class="body">
                                <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:DropDownList ID="DDl_Owner" runat="server" onchange="setOwnerCookie(this)"></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_ClientId" runat="server"></asp:TextBox>
                                                <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000678%>" class="form-label"></asp:Label>
                                            </div>
                                        </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_Name" runat="server" MaxLength="200"></asp:TextBox>
                                                <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000170%>" class="form-label"></asp:Label>
                                            </div>
                                        </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_Email" runat="server" MaxLength="128"></asp:TextBox>
                                                <asp:Label ID="Label7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000652%>" class="form-label"></asp:Label>
                                            </div>
                                        </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_Company" runat="server"></asp:TextBox>
                                                <asp:Label ID="Label8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001077%>" class="form-label"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-3 col-sm-6 col-xs-12" id="Div_Domain" runat="server">
                                        <div class="form-group form-float">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DomainName" runat="server" MaxLength="263"></asp:TextBox>
                                                <asp:Label ID="Label15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000125%>" 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" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                            <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                Text="<%$ Resources:Content,String289 %>" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                ID="GV_List" AllowPaging="true" AllowSorting="true" runat="server" AutoGenerateColumns="False">
                <AlternatingRowStyle CssClass="altRow" />
                <Columns>

                    <asp:TemplateField SortExpression="CustomerId" HeaderText="<%$ Resources:Content, GN0000678 %>"
                        HeaderStyle-CssClass="col-xs-1">
                        <ItemTemplate>
                            <asp:LinkButton ID="LB_Client" CommandName="ClientID"
                                Text='<%#DataBinder.Eval(Container, "DataItem.CustomerId")%>' runat="server"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField SortExpression="Name" HeaderText="<%$ Resources:Content, GN000170 %>"
                        HeaderStyle-CssClass="col-xs-3">
                        <ItemTemplate>
                            <asp:LinkButton ID="LB_Name" CommandName="ClientName" Text='<%#DataBinder.Eval(Container, "DataItem.Name")%>'
                                runat="server"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000491 %>"
                        HeaderStyle-CssClass="col-xs-3">
                        <ItemTemplate>
                            <asp:Label ID="LB_Email"
                                runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField SortExpression="CompanyName"
                        HeaderText="<%$ Resources:Content, SPT002811%>" HeaderStyle-CssClass="col-xs-2">
                        <ItemTemplate>
                            <asp:Label ID="LB_Owner" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.CompanyName")%>'
                                CommandName="Owner" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField SortExpression="CustCompanyName"
                        HeaderText="<%$ Resources:Content, GN00001077%>" HeaderStyle-CssClass="col-xs-3">
                        <ItemTemplate>
                            <asp:Label ID="LB_CustCompanyName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.CustCompanyName")%>' />
                        </ItemTemplate>
                    </asp:TemplateField>

                </Columns>
                <%--PagerTemplate Start--%>
                <PagerTemplate>
                    <EM:Pager ID="Pager1" runat="server" />
                </PagerTemplate>
                <%--PagerTemplate End--%>
            </asp:GridView>

        <%--</div>
    </div>--%>
</div>


