SaaS CMS has officially launched! Learn more now.
AI OnAI Off
SaaS CMS has officially launched! Learn more now.
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.