How to add and use a razor editor template
问题 I have tried to find documentation or samples on how to incorporate razor editor templates into a project. the following answer on another thread may fix a problem I am having but I do not know how to incorporate it into my project. It is no doubt easy. here is the solution I do not know how to incorporate: Client-side validation of input type date does not work 回答1: Here is short info about adding EditorTemplate . In short words - you have to create directory EditorTemplates in Views/Shared