Which event Checkbox is associated on server side?

 Posted by vishalneeraj-24503 on 5/3/2014 | Category: JavaScript Interview questions | Views: 485 | Points: 40
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 

Comments or Responses

Login to post response