The RegularExpressionValidator and the RequiredFieldValidator are both
client-side validation controls. Therefore, the form will not submit until
you page is valid. Any code you put in your code behind class will fire
once the page is valid and the form is submitted.
--
Travis Murray
MCSD, MCT
Artiem Consulting, Inc.
http://www.artiem.com
Learn ASP.Net In Jamaica in 2005!
Visit
http://www.artiem.com/jamaica.aspx for more details.
"msuk" <ms**@discussions.microsoft.com> wrote in message
news:C2**********************************@microsof t.com...
All,
I have a ASP.NET/C# webform that contains a ASPRegularExpressionValidator
and a ASPRequiredFieldValidator, the form contains many fields to be
filled in. I have a send button at the bottom of the page that calls a function
within the webform that checks to see if the page is valid. If it is not a
label next the send button appears informing the user but if the page is
valid I would like to call a function in my code behind class is this
possible and how ?
Thanks
Msuk