Archive for May, 2010
Repopulate Html.PasswordFor<> on validation errors
ASP.NET MVC’s HTML helpers are fast and efficient for rendering elements using your model. One of these is the HTML.PasswordFor<> method, which has a little gotcha that many people get caught out with. The HTML.PasswordFor<> method will render a password input to mask keystrokes on the browser but will not populate the value using the [...]