Browse by Tags
All Tags » Validation Rule... » upgrades (RSS)
-
Here you are the code. The highlighted code is the line where the Stack Overflow exception is thrown (because the validation rule executes once and once again when the underlying data is changed) :
public override ValidationResult Validate(object value, CultureInfo cultureInfo, CellValidationContext cellValidationContext)
{
int ...
-
Hi, I got a stack overflow in the validation after upgrading to 3.1. The validation rule changes the underlying dataset through the cellValidationContext.DataItem, and with this new version every change to this raises the execution of validation rule again, resulting in a stack overflow exception. This behaviour doesn't happen in the 2.0 version ...
|
|
|
|