Best Practice for Implementing Field Level Business Rules


Author
Message
fparker
fparker
StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)StrataFrame Beginner (49 reputation)
Group: Forum Members
Posts: 31, Visits: 199
I'd like to provide my users with an error message if they enter an invalid value into a bound control and also prevent them from leaving that control until the entry is corrected.  I'd like to keep all of the business rules in the business object rather than in the control's Validating event.  Do you guys have any guidance as to how this can best be accomplished?

Another common situation for us is that the entry of one field will cause one or more other fields to change their value.  Is having the business object sink its own FieldPropertyChanged event the best way to handle that?

Thanks for your help.

Fran Parker

MaxQ Technologies, Inc.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search