Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking 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 Basics 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
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 19th, 2007, 07:02 AM
Authorized User
 
Join Date: Dec 2007
Location: valsad, gujarat, India.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dharmeshtandel
Default Date Validation

Dear All,
i am facing the problem regarding the validation.
i want to validate the date into dd/MM/yyyy formate
can you generate the regular expression for that

regards,
Dharmesh Tandel

dharmeshtandel
__________________
dharmeshtandel
Reply With Quote
  #2 (permalink)  
Old December 19th, 2007, 09:38 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: Bangalore, Karnataka, India.
Posts: 231
Thanks: 0
Thanked 1 Time in 1 Post
Default

hey
you take compare validator in front of textbox.
drag and drop control validator and sets its two common properties
1) control to validate 2) Error Message
after this: set
1) property ValueToComapre TO mm/dd/yyyy
2) property Type TO Date
3) property Operator TO DataTypeCheck

This will solve yours problem

thanks......
Reply With Quote
  #3 (permalink)  
Old December 20th, 2007, 12:46 AM
Authorized User
 
Join Date: Dec 2007
Location: valsad, gujarat, India.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dharmeshtandel
Default

Quote:
quote:Originally posted by MunishBhatia
 hey
you take compare validator in front of textbox.
drag and drop control validator and sets its two common properties
1) control to validate 2) Error Message
after this: set
1) property ValueToComapre TO mm/dd/yyyy
2) property Type TO Date
3) property Operator TO DataTypeCheck

This will solve yours problem

thanks......
Thank you,very much sir(Munish Bhatia),
for giving me the positive reply..
i tested your solution on my application and it's successfully working.

Regards..
Dharmesh Tandel

dharmeshtandel
Reply With Quote
  #4 (permalink)  
Old December 25th, 2007, 10:01 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: Bangalore, Karnataka, India.
Posts: 231
Thanks: 0
Thanked 1 Time in 1 Post
Default

Welcome Sir

thanks......
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Validation aftabn10 PHP How-To 0 January 29th, 2007 10:35 AM
Date Validation ramesh055 ASP.NET 1.0 and 1.1 Professional 1 November 15th, 2006 11:09 AM
date validation (again) crmpicco Javascript How-To 14 March 29th, 2006 06:58 PM
Date Validation surendran Javascript How-To 3 February 25th, 2005 07:40 AM
Date validation Raul Javascript 4 February 25th, 2004 04:04 PM



All times are GMT -4. The time now is 06:56 AM.


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