|
|
Browse by Tags
All Tags » ASP.NET » hang
-
I am building an application in ASP.NET. I use a RegularExpressionValidator in a GridView to validate the length of the contents of a multiline TextBox.
As I need to detect new lines as well I cannot use the simple
^.{1,1000}$
but I have to use this:
^(.|\s){1,1000}$
Then very strange things can happen depending on what is the text ...
-
I am building an application in ASP.NET. I use a RegularExpressionValidator in a GridView to validate the length of the contents of a multiline TextBox.
As I need to detect new lines as well I cannot use the simple
^.{1,1000}$
but I have to use this:
^(.|\s){1,1000}$
Then very strange things can happen depending on what is the text ...
|
|
|