Hi,
Try the following:
<asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1" >
<ItemTemplate>
<asp:CheckBox ID="chk" runat="server" AutoPostBack="true" Text='<%#Bind("CustomerName")%>' OnCheckedChanged="check_changed"/>
</ItemTemplate>
</asp:Repeater>
protected void check_changed(object sender, EventArgs e)
{
if (sender != null)
{
try
{
if (((CheckBox)sender).Checked)
{
Response.Write(((CheckBox)sender).Text + " is checked");
}
}
catch { }
}
}
Hope this will work. Cheers :thumbsup: