Re: Validations......

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Scott M. (s-mar_at_BADSPAMsnet.net)
Date: 02/15/04


Date: Sun, 15 Feb 2004 17:12:59 -0500

Use a regular expression validator with the date format you want as its
ValidationExpression.

"Gary Smith" <GSmith72@yahoo.com> wrote in message
news:%23rksvsA9DHA.2480@TK2MSFTNGP12.phx.gbl...
> In my ASP.Net application I am using textbox for user to enter the date.
> How to enforce the user to enter only the numeric values( and "/"
character)
> in this edit box ?
> Thanks for your suggestions.
> Gary
>
>



Relevant Pages

  • validation expression is this correct?
    ... Hi I am using a validationexpression with a regular expression validator. ... In the properties window for the expression I have ... as I want the following format, ... Software engineer. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: regularexpression validator on postback
    ... Attach a RequiredFieldValidator control to the text box in addition to the ... regular expression validator. ... i've a form with a textbox that user "must" fill with a password. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Can you put vertical text in a textbox/richtextbox
    ... > outside the textbox then try to paste it in that way ... picture: the user cannot edit or format the text. ...
    (microsoft.public.dotnet.languages.csharp)