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

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <div  style="width: 400px; height:300px; padding: 10px;">
        <table border="0" width="100%" >
            <tr>
                <td valign="top">
                    <asp:RadioButton ID="rbtnShare" runat="server" Text="共享给" Checked="True" GroupName="Share" />
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <asp:GridView ID="gvShareCustomer" runat="server" AutoGenerateColumns="False" DataKeyNames="Id"
                        Width="100%" ShowHeader="False" GridLines="None" CaptionAlign="Top" BackColor="#BBBBBB"
                        BorderWidth="0px" CellPadding="3" CellSpacing="1" RowStyle-Height="25" RowStyle-HorizontalAlign="Center">
                        <RowStyle BackColor="White" />
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container.DataItem, "RealName").ToString()%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:CheckBox ID="CB_Read" runat="server" /> 可读
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:CheckBox ID="CB_Write" runat="server" /> 可写
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <asp:RadioButton ID="rbtnAllShare" runat="server" Text="全部共享" GroupName="Share" Visible="False" />
                </td>
            </tr>
            <tr>
                <td valign="top" align="center">
                    <asp:Button ID="btnSubmit" runat="server" Text="提 交" OnClick="btnSubmit_Click" CssClass="btn_77px" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
