Return to Snippet

Revision: 37058
at December 3, 2010 04:14 by housecor


Initial Code
<asp:RegularExpressionValidator ID="regexTextBox1" ControlToValidate="YourTextBoxID" runat="server" ValidationExpression="^[\s\S]{0,6000}$" Text="6000 characters max" />

Initial URL

                                

Initial Description

                                

Initial Title
Maxlength for textbox via server side regex

Initial Tags

                                

Initial Language
C#