On a CustomValidator you have to provide the validation code because
otherwise it doesn't know what to do for the validation.

Other validator controls use client and server side validation (for graceful
degrading if the client doesn't support it). If you put another type of
validator on an ASPX page then run in, you will find a line in generated
source for your web page that looks like:
<script language="javascript"
This is the .NET client side validation.

If you are creating a custom validator, you have to provide at least the
server side validation (should the client not support scripts, or if the
client has denied scripts the right to run), and optionally also the Client
side validation. To tell .NET about your client side validation function you
have to set EnableClientScript=true; and ClientValidatorFunction=<the string
name of your function>

Actually the ClientValidatorFunction string should be the name of your
client side function without the parentheses, ASP.NET will add them and
supply the values for the two parameters.

I hope this helps,

"Andy Nagai" <aanagaiearthlink.net> wrote in message
news:X1RJa.10040$C83.990828newsread1.prod.itd.ear thlink.net...
> Hi
> Ive noticed that only the customized validation control has the
> ServerValidate event handler. Does this mean that only using that control
> you can do server side validation?
> I mean you got to put some code on the server that responds to somekind of
> event to do something.