Answer: Checkbox has
OnCheckedChanged event which we call when we check or un-check checkboxes.
For Example:-
<asp:CheckBox ID="CheckBox1" runat="server" Text="Yes" OnCheckedChanged="CheckBox1_CheckedChanged"/>
protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
//write your code
}
Asked In: Many Interviews |
Alert Moderator