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

Disable Previous days

2 Answers 29 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Mike_T
Top achievements
Rank 1
Mike_T asked on 22 Aug 2011, 01:35 AM
Hello,

I have the following radcalendar,

<

 

telerik:RadCalendar ID="RadCalendar1" runat="server" AutoPostBack="true" MultiViewColumns="1"

 

 

MultiViewRows="1" EnableMultiSelect="false">

 

 

</telerik:RadCalendar>

 


is there anyway to disable all the previous days to today?

Thanks a lot
Mike

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 1
answered on 22 Aug 2011, 05:09 AM
Hello MIke,

Try setting RangeMindate in pageLoad to disable previous days.
C#:
protected void Page_Load(object sender, EventArgs e)
{
        RadCalendar1.RangeMinDate = DateTime.Today;
}

Thanks,
Princy.
0
Mike_T
Top achievements
Rank 1
answered on 22 Aug 2011, 11:37 AM
Thanks a lot very helpful
Mike
Tags
Calendar
Asked by
Mike_T
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Mike_T
Top achievements
Rank 1
Share this question
or