I want to use placeholder in @Html.EditorFor for text in mvc. I tried many of things even search in google but whatever the answer I got that not work. I surprised...!!!. And finally I ask in question.
My lastest code for placeholder is
@Html.EditorFor(model => model.ToEmail, new { htmlAttributes = new { @class = "form-control", @placeholder = "Enter Your EmailID...!!!" } })
This code also not work.
Thank You.