I have a UI with some controls in it bound to Person
class. Whenever user enters a new information business logic need to check the database if such a person exist. If not I need to give message to user and mark that textbox like it has error(red frame around the box). My Question is can I do that on the getter or setter of the property that gives Validation error?
Thanks for the help!