Browse by Tags

Related Posts

  • Re: How to Control the Length of a multiline text box

    How about using RegularExpressionValidator to validate length of TextBox it will also take care of serverside validation. following sample code shows how to use that. Run sample code 1 <%@ Page Language="C#" %> 2 < html > 3 < head id= "Head1" runat= "server" > 4 < title >Multiline...
    Posted to Client Side Web Development (Forum) by Jigar on 01-07-2007, 12:00 AM
    Filed under: Validation, RegularExpressionValidator, Regex
  • Simple Regular Expression (apparently)

    Hi, I've been trying to write a very simple Regular Expression for a password textbox, which consists of restricting the password length to between 4 and 20 characters, and having no whitespace. However, I can't find any easy way of doing this (I would like to have the whitespaces checked within the...
    Posted to Web Forms (Forum) by dotnetuk on 05-03-2007, 12:00 AM
    Filed under: validation, validate, regular expression, regularexpressionvalidator, Valdiation Controls, RegularExpression (?! ) expression, validation Controls, Regular Expression Validator, valdiation Controls ValidationGroup
  • Checking a field DOES NOT contain an email address

    Hi, I have an TextBox control on my WebForm and I need to validate it to ensure it isn't an email address. I know how to use a RegEx validator to check IT IS an email address but how would I validate it to check it IS NOT an email address? Thanks in advance. Andy
    Posted to Web Forms (Forum) by AndyBanks on 12-14-2007, 12:00 AM
    Filed under: validation, regular expression, regularexpressionvalidator, validation Controls, Regular Expression Validator, validator, regular expression Validator email
Page 1 of 1 (3 items)