LLBLGEN Pro Autovalidation

Posts   
 
    
MichielAlders avatar
Posts: 30
Joined: 01-Sep-2009
# Posted on: 21-Sep-2009 09:46:07   

Hi,

I'm having some issues regarding the autovalidation used by LLBLGEN Pro.

I'm using version 2.6 Final.

And binded a property of my object with a textfield on my form.

Now when changing the input of this field (while knowing its maximum length is sunglasses to a text with a length of 10 and leaving the textfield i'm getting the following errors in my output window:

A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in System.dll A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in System.Windows.Forms.dll

No exception is thrown so my application keeps running, except for the fact my cursor won't leave the focus of the textfield, every time I try clicking somewhere else the same error's are thrown in my output window.

Now I like this validation, except I would like to let the user know what the problem is, instead the application "looks" like its behaving weird.

Is there a way to use this validation to notify my user what he is doing wrong?

Thanks in advance

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 21-Sep-2009 11:39:45