I am trying to set place holder to textbox or multi line text box in MVC 4. So far it is not working.
[Display(Name = "Location", Prompt = "Enter info related to Location")]
public string LocationDesc { get; set; }
And the View as below
@Html.EditorFor(model => model.LocationDesc , new { placeholder = "Enter info related to Location" })
Place holder just need to show some information and I am happy to display it anywhere (View or model)
We are using MVC4.
Cheers