Rhino Mocks Method ‘YYY’ requires a return value or an exception to throw.

Yesterday I found myself stucked with a strange exception while programming a unit test using Rhino Mocks. Supose you have an interface like the following one. 1 2 3 4 public interface ITest { object Freak();}public interface ITest { object…

Read more

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…

Read more

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…

Read more

Upgrade xVal.WebForms 0.1 to use xVal.1.0 (Validation Summary Support)

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…

Read more