I have a collection of objects and a detail form where the controls of the form are databound to one of the objects in the collection.
When the name property of the object is changed a handler in the collection checks to ensure that the name is unique, if not it throws a system.argumentexception.
How can I catch the exception when the control on the form tries to validate the entry for the name property?
When the name property of the object is changed a handler in the collection checks to ensure that the name is unique, if not it throws a system.argumentexception.
How can I catch the exception when the control on the form tries to validate the entry for the name property?