<%@ Page Language="C#" AutoEventWireup="true" Theme="Default" MasterPageFile="~/Dialog/DialogMaster.Master"
    CodeBehind="CustomerDialog.aspx.cs" Inherits="OAWeb.crm.customer.CustomerDialog"  EnableViewState="true" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="width: 700px; height: 400px; overflow-y: scroll">
        <table class="data_title">
            <tr>
                <td class="data-field">
                    客户名称：<asp:TextBox ID="txtCustomer" runat="server" Width="142px"></asp:TextBox>
                    &nbsp;QQ：<asp:TextBox ID="txtQQ" runat="server" Width="88px"></asp:TextBox>
                    &nbsp;电话：<asp:TextBox ID="txtTelephone" runat="server" Width="88px"></asp:TextBox>
                    &nbsp;手机：<asp:TextBox ID="txtMobilePhone" runat="server" Width="88px"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click" Width="49px" />
                </td>
            </tr>
        </table>
        <asp:GridView ID="gvCustomerList" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:TemplateField HeaderText="客户名称">
                    <ItemTemplate>
                        <input id="radio" name="rdoItem" type="radio" value='<%#Eval("CustomerID") %>' text='<%#Eval("CustomerName") %>' />
                        <asp:Label ID="lblUserName" runat="server" Text='<%#Eval("CustomerName") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                </asp:TemplateField>
                <asp:BoundField DataField="CityName" HeaderText="所在城市" />
                <asp:BoundField DataField="OwnerName" HeaderText="跟进人" />
            </Columns>
        </asp:GridView>
        <div class="pager-bar">
            <webdiyer:AspNetPager ID="pager" runat="server" CssClass="anpager" currentpagebuttonclass="cpb"
                PageSize="9" NextPageText="下一页" LastPageText="页尾" FirstPageText="第一页" PrevPageText="上一页"
                ShowBoxThreshold="10" SubmitButtonText="跳转" OnPageChanged="pager_PageChanged">
            </webdiyer:AspNetPager>
        </div>
    </div>
</asp:Content>
