Click here to Skip to main content
15,884,472 members
Articles / Web Development / ASP.NET

RequiredIfValidator - Extending from the BaseValidator class

Rate me:
Please Sign up or sign in to vote.
4.78/5 (22 votes)
12 Jan 20056 min read 129.7K   719   71  
Have you ever had a field that was required, but only if another field was a certain value? Then, this validator is for you!

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
Brian is a software developer at a manufacturing company in Ohio. He does mostly C# windows and web programming, with a small pinch of VB thrown in when necessary.

He is a moderator for the CSharpNET Yahoo group, which you can visit by going here:

http://groups.yahoo.com/group/CSharpNET/

Comments and Discussions