property validation in the datagrid

Posts   
 
    
Gabor
User
Posts: 97
Joined: 29-Jan-2005
# Posted on: 31-Jan-2005 14:20:40   

Hi,

If I change a property of an entity bounded to the datagrid datagrid, does the validate method of that enties's validator class will be called, or what is the best practice to make a per field validation?

Thanks

Gabor

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 31-Jan-2005 17:39:46   

Yes the validator class of that entity is then called. So if you want to do field validation, just add code to the validator classes, they're not overwritten.

Frans Bouma | Lead developer LLBLGen Pro