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

Date Picker Min and Max date

3 Answers 821 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Ruchi
Top achievements
Rank 1
Ruchi asked on 29 Dec 2011, 10:18 AM
Hi All,

Is there any way to remove default minimum date and maximum date of rad date picker ? I don't want to set any min date and max date as I don't know what would be date coming from database ?


Regards,
Ruchi

3 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 29 Dec 2011, 02:59 PM
Hello Ruchi,

You can easily avoid the checking of MinDate and MaxDate in the RadDatePicker and RadDateInput controls by setting the property SkipMinMaxDateValidationOnServer.

Thanks,
Shinu.
0
jason2k
Top achievements
Rank 1
answered on 15 Dec 2012, 07:15 AM
I'm still unable to select a date 100 years into the future be it using the pop up calendar or typing the date using a keyboard.
There's this exclamation mark inside a yellow triangle warning within the textbox of the datepicker.
0
Princy
Top achievements
Rank 2
answered on 18 Dec 2012, 01:20 PM
Hi,

SkipMinMaxDateValidationOnServer property gets or sets the server-side min/max date validation. If you want to allow other dates you can set the MinDate and MaxDate property of RadDatePicker.

ASPX:
<telerik:RadDatePicker ID="RadDatePicker1" runat="server" MinDate="01/01/1950" MaxDate="01/01/2200">
</telerik:RadDatePicker>

Hope this helps.

Regards,
Princy.
Tags
Calendar
Asked by
Ruchi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
jason2k
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or