[thelist] Custom validation ASP.net

Michael Pack michaelpack at wvdhhr.org
Mon Dec 10 09:57:44 CST 2007

Hi folks, have a easy question for you ASP.net guru's. 

I'm building a web form and want to require the email OR phone number .
This is simple to me with Javascript, but how would I go about this
utilizing a custom .net validation control?

I've been trying to learn how to create a custom control but am having
trouble with it, using the following argument...

(!String.IsNullOrEmpty(txtEmail.Text) ||

Writing VB in Dreamweaver CS3 without code behind. 

Thanks in advance!

More information about the thelist mailing list