xVal.WebForms, Validation Groups and CausesValidation Part II

A friend came with two issues concerning my recent post about xVal.webForms ValidationGroups and CausesValidation support. 1.- Supress Validation was being rendered as many times as ModelValidators where in the page. 2.- When more than one ModelValidator control was in place, xVal.AttachValidator script options could …

xVal.WebForms, Validation Groups and CausesValidation

In one of our recent projects we needed a behavior like the ASP.Net ValidationGroups and also be able to relay on the CausesValidation of all controls implementing IButtonControl interface control. So the first issue I faced was that jquery-validate plugin version 1.5.1 (The one that xVal.WebForms uses) does not …

Using xVal, CSLA.NET and DataAnnotations.

I’ve been working for years with CSLA to create business layer objects. Recently I started using XVal 1.0 and XVal.WebForms 0.1 for client side validation. I started enforcing our rules as DataAnnotations and also in CSLA AddBusinessRules() method. So if a property of type string was required I used a …