What is the EventName property when I set up a ASP.NET checkbox control as an async postback trigger for an asp.net update panel?
3 Answers
All you have to do is set AutoPostback to true and if your CheckBox is within the UpdatePanel you shouldnt have any problems
<asp:CheckBox runat="server" ID="chk_Name" AutoPostBack="true" OnCheckedChanged="chk_Name_OnCheckedChanged"></asp:CheckBox>
Then in the OnCheckedChanged function you can do whatever you need to do
protected void chk_Name_OnCheckedChanged(object sender, EventArgs e)
{
// Do stuff here
}