In my view I have the following element
@Html.PasswordFor(model => model.Password)
This is on a screen that creates/updates user details. When I am trying to update the user this field remains blank. When I change this element to a TextBoxFor it gets the data. How do I get to populate the Password field.
model.Password = String.IsNullOrEmpty(user.Password) ? "" : "********";, butPasswordForwon't use the value. So you can't give an indication of whether a value exists.