Monday, August 22, 2011

Set up a Min and Max langth for a text box

 <asp:RegularExpressionValidator  
ID="RegularExpressionValidator1" 
 runat="server" ControlToValidate="TextBox1" 
 ErrorMessage="You must enter between 5 and 10 characters" 
 ValidationExpression=".{5,10}">
 
</asp:RegularExpressionValidator>


Free Web ClockDiseño Web

Tuesday, August 9, 2011