I've tried to create a simple custom editor template for Decimal and Integer types:
@ModelType Decimal?
@Html.NumericBoxFor(Function(m) m)
and
@ModelType Integer?
@Html.NumericBoxFor(Function(m) m)
Saved them as ~/Views/Shared/EditorTemplates/Decimal.vbhtml and ~/Views/Shared/EditorTemplates/Integer.vbhtml (also tried Int32.vbhtml).
However my custom HtmlHelper function is never getting called. After searching the web and trying many things can't figure out.. What's wrong here?