Why Is There No Clientvalidateattribute() In Cuniquevalidator?

Hi all,

I started using the unique validator on a new project. My form uses both enableAjaxValidation and enableClientValidation. I noticed that the unique validator is not used for client validation (the clientValidateAttribute() method isn’t overriden in CUniqueValidator).

Before I extend CUniqueValidator and implement clientValidateAttribute(), was there any design/illogical reasons why a clientValidateAttribute() method not being implemented for CUniqueValidator? The only forum post discussing this was in German (used Google Translate, but my question wasn’t answered).


It’s because CUniqueValidator has to access the DB in the server. :)