You can use the static System.Text.RegularExpressions.Regex.Match(input,
pattern, options) function and throw whatever you want.
--
Carlos J. Quintero
MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
"Gonçalo Boléo" <gb****@netcabo.pt> escribió en el mensaje
news:ev*************@TK2MSFTNGP11.phx.gbl...
Can i validate a TextBox with a regular expression without using
RegularExpressionValidator?
Can i use a function to do this?
I wan't to throw an error different from the way
RegularExpressionValidator
does.
thanks,
Gonçalo Boléo