I feel like this should be simple but I can't figure this out. I use the [Display(Name = "Code")] annotation in my view model. I have a simple custom editor popup on my grid. I use taghelpers because I just do. I am trying to get my labels to show the display name in my popup. I have seen older posts where validation is also not working but I think this has been fixed. Either way I feel like this should work.
Model
public class ChargeViewModel
{
[ScaffoldColumn(false)]
public int ChargesID { get; set; }
[Required]
[UIHint("EditChargePopup")]
[Display(Name = "Code")]
public string ChargesCodeID { get; set; }
Custom Editor
<div class="col-4">
<label for="ChargesCodeID" />
<kendo-textbox for="ChargesCodeID" />
</div>
<div class="col-4">
<label for="Charges_Name" />
<kendo-textbox for="Charges_Name" />
</div>
<div class="col-4">
<label for="Charges_Fee" />
<kendo-numerictextbox for="Charges_Fee" format="c2" decimals="2" />
</div>
Results