Relative Content

Tag Archive for htmlasp.net-corerazor

Extending @Html.EditorFor to append

I am porting an old .Net 4.8 app to .Net core and the old app has custom code which extends the @Html.EditorFor to wrap the within a and appends a after the tag (basically to add a “%” sign after the input field). I have added the older code below.