Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hello Friends,

I am facing an issue related to data annotation .

We have placed the Regex on the Email property.

When I run the code on my local machine it takes(') e.g. test'test@gnet.com
but on production environment it will not take (') as a valid character

And I observe the changes in data-Val-regex-pattern, it seems like it encode double(On production server) to ragx validation pattern. This issue is not even generating on the local machine.

Friends please help me to resolve this issue or is there any way we can generate this on our local machine.

Thanks
Posted
Updated 12-Nov-14 2:40am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900