This is a migrated thread and some comments may be shown as answers.

[Solved] Display DateTime.MinValue

1 Answer 111 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
JULIA
Top achievements
Rank 1
JULIA asked on 22 Jun 2010, 08:39 AM
Hello,

is there a way to display the DateTime.MinValue inside the DatePicker?
If i use this code the datepicker will be empty.
<%= Html.Telerik().DatePicker().Name( "dt" ).Value( DateTime.MinValue ).MinDate( DateTime.MinValue ) %> 

Best regards.

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 22 Jun 2010, 12:57 PM
Hello Timo,

The smallest date which you can create with javascript Date object is 01/01/0100. This fact cause us to not support .NET DateTime.MinDate value, which is 01/01/0001.
Regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Date/Time Pickers
Asked by
JULIA
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or