<%@ Page Title="" Language="C#" MasterPageFile="~/Dialog/DialogMaster.Master" AutoEventWireup="true"
    CodeBehind="SNProductSelectDialog.aspx.cs" Inherits="OAWeb.Dialog.SelectSNProductSelectDialog" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="width: 700px; height: 470px; padding: 10px">
        <table class="data_title" cellspacing="3">
            <tr>
                <td class="data_field">
                    品项名称：<asp:TextBox ID="txtSKUName" runat="server" CssClass="text_box"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" Text="搜 索" CssClass="btn_77px" />
                </td>
            </tr>
        </table>
        <div class="list">
            <asp:GridView ID="gvData" runat="server" AutoGenerateColumns="False" DataKeyNames="SkuId"
                GridLines="None" CellPadding="0" CssClass="table_list" EnableModelValidation="True"
                OnRowDataBound="gvData_RowDataBound">
                <RowStyle HorizontalAlign="Left" />
                <Columns>
                    <asp:TemplateField HeaderText="">
                        <ItemTemplate>
                            <input id='rdoItem' name='rdoItem' type='radio' value='<%#Eval("SkuId") %>' text='<%#Eval("SKUName") %>' />
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" ForeColor="White"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center" Width="10px"></ItemStyle>
                    </asp:TemplateField>
                    <asp:BoundField DataField="SKUName" HeaderText="品项名称"></asp:BoundField>
                    <asp:TemplateField HeaderText="状态">
                        <ItemTemplate>
                            <img class='<%#Eval("Is_Active").ToString().Equals("1") ? "ico01" : "ico02"%>' src="/images/transparent.gif" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <div class="pager-bar">
                <webdiyer:AspNetPager ID="pager" runat="server" CssClass="anpager" currentpagebuttonclass="cpb"
                    PageSize="10" NextPageText="下一页" LastPageText="页 尾" FirstPageText="第一页" PrevPageText="上一页"
                    ShowBoxThreshold="10" SubmitButtonText="跳 转" UrlPaging="True">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
</asp:Content>
