c# - Annoying exceptions in Silverlight 4 with async validation (RIA Services) -


i've set custom validation sivlerlight project. there's grid, , makes sure entry unique going off server , performing check in domainservice.

the property given attribute tell use custom validator, , validator calls function in domainservice called 'isusernameunique'.

now then, problem this: exception , program died. if detatch project, 3 error messages (they same - 'isusernameunique' failed validation. please inspect validationerrors on operation details). if click through them, see grid , validation message wanted! mean works... sort of. has these exceptions don't want end user see.

any suggestions?

are specifying custom validation attribute viewmodel property? verify binding created (validatesonexceptions, notifyonvalidationerror set accordingly).

a code example helpful too.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -