unchecking the checkbox

Hi,#### I have a form in which i have 3 checkboxes and an update button. On clicking update button it is allowing to update(allowedit =yes) the grid associated with the checkbox.#### my problem is after unchecking it should automatically switch to non editable mode (allowedit= false).#### Please help me in achieving this.

Regards,

Pankaj

You should place your logic in modifed event of the checkbox control to set allowEdit = false, if required place the logic even in the active method of the form data source(hope the check boxes are the bounded controls)