Compare Validator and date format

Discussion in 'ASP .Net' started by Mike P, Jun 6, 2006.

  1. Mike P

    Mike P Guest

    What date format does the Compare Validator check against? The date
    format of the web server or of the client?

    <asp:CompareValidator ID="CompareValidator2" runat="server"
    Display="None"
    ErrorMessage="Please enter a valid date in format dd/mm/yyyy"

    ControlToValidate="txtDueDate" Type="Date"
    Operator="DataTypeCheck"></asp:CompareValidator>



    *** Sent via Developersdex http://www.developersdex.com ***
     
    Mike P, Jun 6, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Candy
    Replies:
    2
    Views:
    1,209
    Janaka
    Feb 18, 2004
  2. =?Utf-8?B?YmFieg==?=

    Compare Validator not comparing date

    =?Utf-8?B?YmFieg==?=, May 27, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    713
    =?Utf-8?B?YmFieg==?=
    May 27, 2005
  3. =?Utf-8?B?SklNLkgu?=

    Q: compare validator for date

    =?Utf-8?B?SklNLkgu?=, Aug 26, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    8,105
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tp?=
    Aug 26, 2005
  4. Peter Grison

    Date, date date date....

    Peter Grison, May 28, 2004, in forum: Java
    Replies:
    10
    Views:
    3,379
    Michael Borgwardt
    May 30, 2004
  5. Shailesh Katti

    compare validator to validate date in user control

    Shailesh Katti, Jul 27, 2003, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    816
    Teemu Keiski
    Jul 28, 2003
Loading...

Share This Page