Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
yep, there is an attribute you need to put on the property.
[Display(Name="Uneditable Property"), Editable(false)]
public virtual string UneditableProperty{get;set;}
or you can do
[Display(Name="Uneditable Property")]
[Editable(false)]
public virtual string UneditableProperty{get;set;}
If you want to hide it from edit mode, you add the attribute [ScaffoldColumn(false)]
Hi,
Thanks Joshua , I already tried [Editable(
false
)]
, it doesnt work, editor still can edit in edit mode.
Hi,
Is it possible to make some of the properties uneditable in edit mode.. I set default value in code so that
editor can see the value for the propety but he/she cannot edit it.