I think the best thing for you to do in this case is write your own
validator that derives from the BaseValidator class.
--
Nathan Sokalski
(E-Mail Removed)
http://www.nathansokalski.com/
"Andrew Han" <(E-Mail Removed)> wrote in message
news:56589e20-3057-4819-b12c-(E-Mail Removed)...
>I have a webpage with about 10-15 textbox controls. I want to write
> one ClientValidationFunction to be used by all the textbox controls.
> However, every textbox is going to have a different value range. How
> can I pass parameters (the allowed min and max value of each textbox)
> into one generic ClientValidationFunction?
>
> (I would use the RangeValidator control, but as stated in my previous
> post, it doesn't seem to handle scientific notation).