If checkbox is not checked, clicking on form submit button does not submit any data.
Some checkboxes may be not present in form depending on form fields selected by user. So submit controller has no possibility to determine if the unchecked checkbox was present in form or not.
If database contains true for this column, this property is not updated to false. Checkbox name is same as database boolean column name.
How to to force form to submit checkboxes which are in unchecked state or any other idea to set value in database to false if checkbox is not checked but not to change value in database if checkbox is not present in form ?
jquery, jqueryui, asp.net 2 mvc are used
See Question&Answers more detail:os