views:

205

answers:

0

I'm currently adding features to an ASP.NET WebForms application that relies on NHibernate Burrow, and would like to replace the standard ASP.NET form validation controls with something that integrates with model-level validation.

NHibernate Validator was easy to implement on the models, but I am unsure on how to get matching client-side validation.

The NHibernate Validator documentation doesn't cover this, and the blog posts that I've seen talk about using it with ASP.NET MVC, and adding xVal for the client-side validation. It would be relatively easy to switch validation libraries at this point if necessary, but unfortunately it isn't feasible to reimplement the application itself with MVC.