In my project, there is a Repeater
. And in the repeater is a CheckBox
. When I bind data to the Repeater
, how can I control (set checked / unchecked) the CheckBox
s that are produced by the Repeater
?
This is what I've tried:
<asp:Repeater ID="Security1" runat="server">
<ItemTemplate>
<tr>
<td> <asp:CheckBox ID="CheckBox1" runat="server"> </td>
<td><%#DataBinder.Eval(Container.DataItem,"Featurename") %></td>
</tr>
</ItemTemplate>
</asp:Repeater>