G
Guest
I've set up a CustomValidator control which has both a client side and server
side function associated with it. My server side function never seems to be
called as long as I have the "EnableClientScript" property set to true. As
soon as I set this property to false , my server side function is called and
works fine. From reading the help, it was my understanding that the server
side function should be called even if I have a client side script. What am
I missing?
I also read that the customValidator is not called if there is no data in
the controlToValidate (textbox for example). Do people usually just assign
two validators to the control? Is it possible to create your own custom
control , derived from a "RequiredFieldValidator" that would also call a
server side function?
Thanks for the help.
side function associated with it. My server side function never seems to be
called as long as I have the "EnableClientScript" property set to true. As
soon as I set this property to false , my server side function is called and
works fine. From reading the help, it was my understanding that the server
side function should be called even if I have a client side script. What am
I missing?
I also read that the customValidator is not called if there is no data in
the controlToValidate (textbox for example). Do people usually just assign
two validators to the control? Is it possible to create your own custom
control , derived from a "RequiredFieldValidator" that would also call a
server side function?
Thanks for the help.