How to reset Checkbox as Unchecked(false)


How to reset Checkbox as Unchecked(false)

1.       Syntax for Html  Helper CheckBox:

       @Html.CheckBox("Status", isChecked: false)

2.       Syntax for reset checkbox status as unchecked:

$(“CheckboxId”).prop(“checked”,false)

Comments

Popular posts from this blog

Override Authorize Filters in MVC

Kendo Control(Dynamics)

Open a ModalPopup window on button click in a gridview using asp.net