Validators

  • Thread starter Thread starter Neven Klofutar
  • Start date Start date
N

Neven Klofutar

Hi,

How can I check is there a "/" character in TextBox using Validators (and
which Validator) ?

Thanx, Neven
 
If you want to check if the "/" is anywhere in the TextBox, you could use a
RegularExpressionValidator with the expression - "\S*[/]\S*"
 
Thanx !

Neven

Philip Q said:
If you want to check if the "/" is anywhere in the TextBox, you could use a
RegularExpressionValidator with the expression - "\S*[/]\S*"

--
Philip Q
Microsoft MVP [ASP.NET]

Neven Klofutar said:
Hi,

How can I check is there a "/" character in TextBox using Validators (and
which Validator) ?

Thanx, Neven
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Validation 1
Binding ArrayList to GridView/DataGrid 2
Session ASP3.0 / ASP.NET 4
Deep cloning 1
VS2K3 - hotspots 2
Exceptions in VS2003 5
Payment Gateway 1
ASP.NET & ASP3.0 on Apache 1

Back
Top