Ok I wrote a custom validator, but my problem is that if no textbox are filled, it does'nt cause validation. But since I never know which one of the box will be filled I cannot put a requiredfield validator on each one.<BR><BR>Is there a way to make a group of control and validate the group as a whole.<BR><BR>i thought about scripting the validation in the submit button itself, but I found no way to validate the box client side. Can I call a client script in the OnClick event of an asp:button ?
I've found out how to do it.<BR><BR>I was setting a control to validate on the custom validator. When removing the ControlToValidate, it check for validity every time the page is posted.<BR><BR>I should be able to get it working now thanks a lot.