i have two EditorTemplates
string.cshtml
int.cshtml
when i write EditorFor a string or an int they both choose string.cshtml
and when i even remove string.cshtml , the EditorFor for an int dont choose int.cshtml
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
EditorTemplates use CLR typenames, not C# keywords.
You need to create
Int32.cshtml.