On the contrary; a custom validator is ideal for such a task. See here:
http://msdn.microsoft.com/library/de...ClassTopic.asp
Basically, you need to do this:
1. Add the validator
2. Set the client side function with ClientValidationFunction
3. Create a JavaScript function with this signature:
function ValidationFunctionName(source, arguments)
{}
4. Inside the function, get a reference to the other controls you want to validate and get their values. Calculate whatever you need to do. In the end, set the IsValid property of the arguments parameter to either true or false.
5. Repeat the validation inside the server side function.
That's about it.
Have fun.
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.