RegularExpressionValidator and Globalization

G

Guest

Hello:

I have a RegularExpressionValidator control attached to a TextBox. I have
the ValidationExpression property set to a very simple validation expression
(\w+). The validation always fails when entering Greek characters. When I
test this expression in a standalone test harness, it accepts the Greek
characters just fine. It is my understanding that the RegEx class in the
Framework is by default culture sensitive and I assume the
RegularExpressionValidator control uses this class. Is this a bug in the
RegularExpressionValidator control? If not, how can I configure the control
to accept foreign characters?
 

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

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top