Hello, I'm currently in quite a pickle, i need to change the display name of the properties for a criterion.
I currently thought it would be done with the [Display()] attribute.
I have the following code
class FromExternalPageModel : CriterionModelBase
{
[Required]
[Display(Name = "Url",
Description = "De Url waarvan de referrer vandaan moet komen.")]
public string url { get; set; }
[Display(Name = "Sessie breed",
Description = "Zorgt ervoor dat de referrer vastgehouden wordt gedurende de hele sessie")]
public bool keepInSession { get; set; }
...
}
Hello, I'm currently in quite a pickle, i need to change the display name of the properties for a criterion.
I currently thought it would be done with the [Display()] attribute.
I have the following code
Thanks in advance!