Disable RadScheduler for a selected date.

2 posts, 0 answers
  1. Teja
    Teja avatar
    15 posts
    Member since:
    Nov 2010

    Posted 08 Mar 2011 Link to this post


    I am using Telerik RadScheduler. I want to disable or rather make radscheduler invisible for a selected date.

    It means if i select a date the rad scheduler calendar, the scheduler should not be visible or at least I should get a pop-up message saying that the date is invalid.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Mar 2011 Link to this post

    Hello Teja,

    You can try the following approach to achieve your scenario.
    • get the reference of the RadCalender which is inside RadSheduler.
    • attatch add_dateClick event.
    • Handle the event there.
    Here is the sample code.
    function pageLoad()
        var schedulerPopupCalendar = $find('<%= RadScheduler1.ClientID + "_SelectedDateCalendar" %>');
    function OnDateSelecting(sender, args)
     //check the selected date and show the alert

    The RadCalendar client object can be further operated with by using its client-side API.
Back to Top