function DisableForm() {
   
Xrm.Page.ui.controls.forEach(
     function (control, index) {
         if (control.getControlType() !=
"subgrid" && control.getControlType() != "iframe"
&& control.getControlType() != "webresource")
            
control.setDisabled(true);
     });
}
 
 
 
No comments:
Post a Comment