ASP.NET CheckBox does not fire CheckedChanged event when unchecking

前端 未结 9 710
隐瞒了意图╮
隐瞒了意图╮ 2020-12-08 10:04

I have a CheckBox on an ASP.NET Content Form like so:



        
9条回答
  •  伪装坚强ぢ
    2020-12-08 11:02

    To fire CheckedChanged event set the following properties for CheckBox, AutoPostBack property should be true and should have a default value either checked false or true.

    AutoPostBack="true" Checked="false"
    

提交回复
热议问题