|
Rank: Member Groups: Member
Joined: 3/16/2009 Posts: 23
|
If I have a datepicker with default settings, a use can type in 050509, and the datepicker will format it as 05/05/2009. But after I set these properties, things changed:
MinValidDate="1900-01-01" MaxValidDate="2079-06-06"
Those are the dates allowed for SQL Server smalldatetime.
Now if the user enters 050509, the date is reset to 1900. I tried changing the PickerFormat to MM/dd/yy, so they could only enter a two digit year. But then the datepicker will show 05/05/09, but the dropdown calendar (and the actual value) is 05/05/1900.
So it looks like that if I want to enforce that date range, the users will have to type in 05052009 (always 4 digit year) to get the correct value.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
This is a bug. We will post a new build with the fix as soon as possible.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
This issue was addressed in build 2008.0.80.
|
|
Rank: Member Groups: Member
Joined: 5/10/2009 Posts: 10
|
Hi,
regarding Datepicker, is it possible to add functionality for the time fields to change with the mouse wheel?
thx
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I believe this is technically possible (we support mouse wheel on our Grid). However we are not sure whether it would confuse users when they actually wanted to scroll the page (or the containing Grid, for example). Most users are used to scrolling a list box, but DatePicker is visually more of a textbox.
Thanks!
|
|