Welcome Guest Search | Active Topics | Sign In | Register

Maked Edit for Date of Birth, not allowing invalid dates... Options
MicroConn, Inc.
Posted: Monday, March 21, 2011 3:06:15 PM
Rank: Newbie
Groups: Member

Joined: 2/6/2009
Posts: 2
Using the masked edit for a birth date but it allows something like 15/45/2020. Obviously month should be limited to 12 and days, etc. etc. need to know how to accomplish this.

Have not found a sample code for this but assuming this is possible other wise it is not a Date masked edit, it is just a number formatting tool.

Don
eo_support
Posted: Monday, March 21, 2011 7:40:18 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You wouldn't want to use a MaskedEdit control for date. It does not have the built-in logic to check whether a date is valid. Use a DatePicker instead. That will ensure user always enter a valid date.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.