Disable Previous days

3 posts, 1 answers
  1. Mike_T
    Mike_T avatar
    37 posts
    Member since:
    Aug 2006

    Posted 21 Aug 2011 Link to this post

    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. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 Aug 2011 Link to this post

    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.
  3. Mike_T
    Mike_T avatar
    37 posts
    Member since:
    Aug 2006

    Posted 22 Aug 2011 Link to this post

    Thanks a lot very helpful
    Mike
Back to Top