4 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 20 Aug 2010, 01:25 PM
Hello,
Set the MinDate of the RadDatePicker control to disable the past days.
Code Example:
Thanks,
Princy.
Set the MinDate of the RadDatePicker control to disable the past days.
Code Example:
protected
void
Page_Load(
object
sender, EventArgs e)
{
RadDatePicker1.MinDate = DateTime.Today.Date;
}
Thanks,
Princy.
0
shubhangi
Top achievements
Rank 1
answered on 27 Aug 2015, 06:01 AM
Above code is not working..Can you give me any other idea to achieve this
1
Hi,
I tested the following code on my end and it is working as expected. Would you give it a try and let me know how it works for you?
Regards,
Viktor Tachev
Telerik
I tested the following code on my end and it is working as expected. Would you give it a try and let me know how it works for you?
<
telerik:RadDatePicker
runat
=
"server"
ID
=
"RadDatePicker1"
OnLoad
=
"RadDatePicker1_Load"
></
telerik:RadDatePicker
>
protected
void
RadDatePicker1_Load(
object
sender, EventArgs e)
{
(sender
as
RadDatePicker).MinDate = DateTime.Today;
}
Regards,
Viktor Tachev
Telerik
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 Feedback Portal
and vote to affect the priority of the items
0
mahen
Top achievements
Rank 1
answered on 13 Apr 2017, 04:26 AM
hi
i have a two Datepicker like a Date1 and Date2 but i want a
if m select a Date 1 so all less than date disable Date2 Plz explain