N
Nathan Sokalski
I have several TextBoxes with TextMode="MultiLine" in which I want to limit
the number of characters that can be entered using a
RegularExpressionValidator. I have come up with the following
ValidationExpression:
[.]{0,250}
The only problem with this ValidationExpression is that it does not include
the \n character as stated on the following documentation page:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxfund/html/c82dc689-7e82-4767-a18d-cd24ce5f05e9.htm
I tried using the following ValidationExpression:
[.\n]{0,250}
but it did not work. What can I use as a ValidationExpression for a
RegularExpressionValidator in ASP.NET 2.0 that will allow all characters to
be entered, but will limit the user to entering no more than 250 characters?
Thanks.
the number of characters that can be entered using a
RegularExpressionValidator. I have come up with the following
ValidationExpression:
[.]{0,250}
The only problem with this ValidationExpression is that it does not include
the \n character as stated on the following documentation page:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxfund/html/c82dc689-7e82-4767-a18d-cd24ce5f05e9.htm
I tried using the following ValidationExpression:
[.\n]{0,250}
but it did not work. What can I use as a ValidationExpression for a
RegularExpressionValidator in ASP.NET 2.0 that will allow all characters to
be entered, but will limit the user to entering no more than 250 characters?
Thanks.