Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 20th, 2006, 01:43 AM
Authorized User
 
Join Date: Dec 2005
Location: Bangalore, , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to kapi.goel
Default Customer Validation in Dates

I am using a 2 TextBoxes having Date in the format of dd/mm/yyyy

Now on using CompareValidator as follows

<asp:CompareValidator id="cmpDate" Runat="server" ErrorMessage="*" ControlToValidate="TextBox2" Display="Dynamic" Type="Date" Operator="GreaterThanEqual" ControlToCompare="TextBox1">
</asp:CompareValidator>

The problem is CompareValidator is not validating.

I can't change the format in my application.

But same code is working with mm/dd/yyyy date format

Please tell me the solution.



KG
__________________
KG
  #2 (permalink)  
Old April 20th, 2006, 01:51 PM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

cross post
http://p2p.wrox.com/topic.asp?TOPIC_ID=43050



Similar Threads
Thread Thread Starter Forum Replies Last Post
Customer Support overdos2 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 November 30th, 2006 04:54 PM
Customer table missing? doanhvu BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 June 27th, 2006 12:57 AM
Customer Contact Database Corey Access 0 March 27th, 2006 12:33 PM
customer Error Messages testsubject Visual Studio 2005 5 March 2nd, 2006 06:03 AM
creating a customer wishlist janice ASP.NET 1.0 and 1.1 Basics 7 September 30th, 2004 11:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.