I would like to be able to catch exception from the server and display an error beside a field that related to the error.
I have a NTier client server application that uses WCF services and DTOs to pass data from the server to the client and back. I would be validating a domain object on the server and if it had error I would want to throw an exception that would be caught on the client and display a message beside the relevant field.
Has anyone done something similar before? This would seem like a pretty common scenario yet I haven't come across any solutions to it.
Thanks in advance.