ASP.Net MVC RC2 ValidationMessage and form field conflict?
I am having problems with MVC RC2 where upon validation failure, the failed field will throw a NullReferenceException when the view is passed back to the user. A short term solution was found: which was to rename the Html.ValidationMessage to be different than the Target Form Field. This works! BUT now the automatic highlighting is disconnected from the input field. (Out of the box behavour is to change the target field's CSS Class which makes it standout) So... What is the actual problem with my code? AND Why wont it allow my ValidationMessage and Form fields share the same names? The code is