I have a small problem. I have a form called customer master. I have a textbox control which is supposed to accept the phone number. The phone number can accept hyphen , but not at the beginning. It can begin with + at the beginning. Other than these two it should accept only numbers. I want to know how to validate this at run time not at design time.

can anyone help me with this.

Thanking you,

Sai abhiram Bandhakavi.