Hi,
I am new to telerik,I have implemented a calender with RadDatePicker and wanted too disable future dates.
For that in the pageload of the page I wrote this code:-
I checked it was working fine,for further testing ,I changed the system date to various dates and found that it was fine.
But after two days when I again checked,this code seemed to have no effect as all future dates are enabled.
Can anyone please let me konw how can I achieve my task?
Thanks,
Tarang
I am new to telerik,I have implemented a calender with RadDatePicker and wanted too disable future dates.
For that in the pageload of the page I wrote this code:-
if
(!Page.IsPostBack)
{
this.radDatePicker1.MaxDate = DateTime.Today;
}
I checked it was working fine,for further testing ,I changed the system date to various dates and found that it was fine.
But after two days when I again checked,this code seemed to have no effect as all future dates are enabled.
Can anyone please let me konw how can I achieve my task?
Thanks,
Tarang