On a UD-form, I need to mark every field (about 40-50 of them) read-only after saving the record (and not being able to edit again after retrieving). Is there an easier way of doing this to doing other than the SetExtendedProperty on each and every field?
There is a IsReadOnly flag on the Form level. Just set that to true, and change it on AfterGetNew back to False.
UD101Form.IsEpiReadyOnly = true;
hehe @tomdomurat been doing this for a long time 
One comment here that is not that important but you shouldn’t have to use csm.GetNativeControl reference you should have a local instance of the form available at the customization level by just referencing the form
UD101Form.IsEpiReadOnly for what it’s worth

