Jul 13, 2009 at 6:16 PM
Edited Jul 13, 2009 at 7:00 PM
EDIT: Nevermind. The issue seems to be with Firefox (I am using version 3.5). The page works perfectly in IE7. I'm leaving the rest of this in case somebody else has the same issue and does a search.
Basically, its seems as though the Html.ClientSideValidation() is not grabbing all the validation attributes properly. In my sample I have 3 properties and 4 attributes. The ClientSideValidation() only notices that one of the properties is an
int. And even though it notices that it does nothing to validate it on the client-side.
I basically followed the tutorial on http://blog.codeville.net/2009/01/10/xval-a-validation-framework-for-aspnet-mvc/.
In my case I am using the Data Annotation Model Binder found here: http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24471. The server-side validation works fine.
I'm not sure what to look for in trying to solve this. Amy ideas?