Reputation: 356
I want to display full property name for "DisplayNameFor" without concatenation.
[Display(Name = "Does the information included in this paper is new?")]
public bool IsNewInfo { get; set; }
In the Razor view it appears like this
Does the...
Upvotes: 1
Views: 142
Reputation: 25350
Sounds like there's a CSS
style that makes the Name
shown with an ellipsis (...
):
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
By default, the DisplayNameFor()
won't truncate the Name
.
Upvotes: 1