Sunday, October 12, 2008

Why RadioButton OnCheckedChanged is not fired?

I added two radio buttons with the corresponding OnCheckedChanged event handlers to my portal. However, when I switched the radio buttons, OnCheckedChanged event was not fired and the event handlers were not called.

The reason is that these event handlers need a postback to be triggered. After I added AutoPostBack="true", it worked.

No comments: