I need the filed 'EmpId' in raddataform edit mode readonly not editable programmlly in c# code not XAML
like image
plz help me quickly
0
Stefan
Telerik team
answered on 25 Nov 2016, 04:43 PM
Hello,
Thanks for the update.
If I am understanding your requirement correctly, you can benefit from the AutoGeneratingField event of RadDataForm. The event handler arguments provide the DataField property. You should be able to set its IsEnabled property to False as follows.