1
當從GridView中選擇的行我動態地添加項目。的CheckBoxList動態地更新和定型
1. How can i make the items added are selected by default - (solved)
2. How can i avoid duplicates getting added to list
3. How can i remove them from list when user un-checks them.
而且我想改變複選框具有圖像和我使用的CSS像下面,但它不工作
.cbxCustom
{
...
}
.cbxCustom tr td checkbox
{
....
}
<asp:CheckBoxList ID="cbl1" runat="server" AutoPostBack="true"
OnSelectedIndexChanged="cbl1_OnSelectedIndexChange"
CssClass="cbxCustom">
</asp:CheckBoxList>