Telerik
Home / Community / Forums / Scheduler / Schedular data range

Answered Schedular data range

Feed from this thread
  • Faiq avatar

    Posted on Jun 15, 2009 (permalink)

    Hi all,

    A small question!
    Is there any property or function available so that i could set min and max date range for scheduler. In fact i want to restrict user not to select date less then the current date from scheduler calendar. Kindly help me out.

    Regards
    Faiq Shah

    Reply

  • Answer Shinu MVP Shinu's avatar

    Posted on Jun 15, 2009 (permalink)

    Hi Faiq Shah,

    Try the following code snippet for setting the RangeMinDate of embedded RadCalendar in Scheduler.

    CS:
     
    protected void RadScheduler1_PreRender(object sender, EventArgs e) 
        RadCalendar popupCalendar = RadScheduler1.FindControl("SelectedDateCalendar"as RadCalendar; 
        popupCalendar.RangeMinDate = DateTime.Now; 
    Hope this helps :)

    -Shinu.

    Reply

Related resourses for "Schedular data range"

ASP.NET Scheduler Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial ]

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2010 Telerik. All rights reserved.