Validate date input

  • Thread starter Thread starter Grey
  • Start date Start date
G

Grey

I want to know that how to valiate date input from ASP.NET? can i use custom validator? if so, how to..

Million Thanks.
 
The CompareValidator will validate a date. Set the Operator property to
DataTypeCheck and the Type to 'Date'.

There are a number of products out there for date entry with popup
calendars. Mine, "Peter's Date Package", includes a number of validators.
http://www.peterblum.com/datecontrols/home.aspx.

--- Peter Blum
www.PeterBlum.com
Email: (e-mail address removed)

you could use a regex validator, there are some date regex patterns at
http://regexplib.com

or use a calendar control such as
http://www.excentricsworld.com/CustomControls/CalendarPopupDemo.aspx
I want to know that how to valiate date input from ASP.NET? can i use custom
validator? if so, how to..

Million Thanks.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Date validation 5
date validation 1
Help validating email addresses 4
Validation Summary Control 4
Run client side javascript with Validation Control 2
Validator Controls 2
input form 1
User input date Validating 1

Back
Top