K
Ken
How can I insert into validationExpression for "any word within 50 any
character long"?
character long"?
How can I insert into validationExpression for "any word within 50 any
character long"?
Anon User said:
if space is not allowed then use
\w{50}
it would match any word character including underscore [A-Za-z0-9_]
Strange enough, it wasn't working .
It seems working with "\w{0,50}" now.
Ken said:Strange enough, it wasn't working .
It seems working with "\w{0,50}" now.
Thanks.
Anon User said:How can I insert into validationExpression for "any word within 50 any
character long"?
.{50}
more info
here:http://msdn2.microsoft.com/en-us/library/ae5bf541(VS.80).aspx
if space is not allowed then use
\w{50}
it would match any word character including underscore [A-Za-z0-9_]
well,
I used RegularExpressionValidator within EditItemTemplate in the formview.
when I tried to update without changing the value for the
"ControlToValidate" for that RegularExpressionValidator, it shows the
errorMessage even though this is valid.
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.