What's the best way to represent dates in a form?

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Jan 2007
Posts: 11
Reputation: jerryodom is an unknown quantity at this point 
Solved Threads: 0
jerryodom jerryodom is offline Offline
Newbie Poster

What's the best way to represent dates in a form?

 
0
  #1
Feb 9th, 2007
I'm fairly new to .NET programming.

The DateTimePicker control seems to be a great solution for entering valid dates without alot of backend checking and preventing the user from entering a bad date. However it seems like I always have to explain to my testers that they don't have to use the drop down box to scroll back 15 years. After I show them they can type they love it. Especially seeing what "day of the week" events take place.

Is this control the best way to handle birthdates, anniversaries, etc?
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 209
Reputation: Ravalon is on a distinguished road 
Solved Threads: 15
Ravalon's Avatar
Ravalon Ravalon is offline Offline
Posting Whiz in Training

Re: What's the best way to represent dates in a form?

 
0
  #2
Feb 9th, 2007
Originally Posted by jerryodom View Post
I'm fairly new to .NET programming.

The DateTimePicker control seems to be a great solution for entering valid dates without alot of backend checking and preventing the user from entering a bad date. However it seems like I always have to explain to my testers that they don't have to use the drop down box to scroll back 15 years. After I show them they can type they love it. Especially seeing what "day of the week" events take place.

Is this control the best way to handle birthdates, anniversaries, etc?
I usually end up using a masked text box or text box for dates. The validation code can be packaged up into a nice reusable class, and my users don't have as much usability trouble. There's also consistency with my data grids. I wrote some date time picker column types and they really destroy the speed of workflow, so I use text box columns or masked text box columns there too.

But that's me. The DateTimePicker control is great when people know how to use it and it's placed carefully. Just like every other control.
It's hard to be humble when you're as gifted as I am at pretending to be an expert.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC