views:

36

answers:

1

I have a checkbox inside a update panel. Based on certain conditions, I set the autopostback property to true and also attach a event handler as below

chkBox.CheckedChanged += new EventHandler(this.ChkBoxChaned_Click);

But when the checkbox is checked/unchecked, autopostback happens but the event handler does not get hit.

any thoughts ?

A: 

Where are you attaching the event handler? If it's not in Init or Load, that's a problem.

Bryan