日期:2014-05-17  浏览次数:20374 次

reapter 嵌套 reapter js CheckBoxList 全选
reapter 嵌套 reapter,在每一层的reapter中能全选和反选当前层的reapter中的CheckBoxList ,在线等高手求解!最好能用JS
前台代码:
<asp:Repeater ID="rpList" runat="server">
                                    <ItemTemplate>
                                    <table width="100%" border="0" cellspacing="1" class="hdr" cellpadding="3" style="border:1px #ccc solid; margin-bottom:5px;">
                                        <tr>
                                            <th>
                                                <input type="checkbox"  name="chk_Sel" id="chk_Sel" value='<%# Eval("id") %>'/><%# Eval("e_gname")%>
                                                <asp:HiddenField ID="hfParentId" runat="server" Value='<%# Eval("id") %>'/>
                                            </th>
                                        </tr>
                                        <tr>
                                            <td style="padding-left:25px; font-size:12px;">
                                                <asp:CheckBoxList ID="cbleuser" runat="server" RepeatDirection="Horizontal">