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...
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...
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 StringLength...
Recently I found out about xVal.WebForms project at CodePlex.com. Its a good implementation of XVal for ASP.Net WebForms made by John Rummell. I missed Validation Summary support so I upgraded John’s code so it could work with XVal 1.0. I submitted two patches modifying ModelValidator.cs and xVal.jquery.validate.js....
We’ve been working with DbLinq for a while now, at HexaSystems and recently using it together with Dynamic Linq and SQLite I programed a call to the Count method of a Queryable object as follows: 1public static int Count(this IQueryable source) 2{ 3 if (source == null) throw new ArgumentNullException("source"); 4 5...