Overlap checking for recurrence rule

3 posts, 0 answers
  1. CH
    CH avatar
    48 posts
    Member since:
    Aug 2010

    Posted 13 Nov 2011 Link to this post


    I saved the appointment info into database, include start date, end date, recurrence rule and recurrence parent id etc. My question is how can I do overlap checking for the appointment with recurrence rule in database? Because recurentce rule is a long text include all information about date range.

    And I also got two minor UI issues in Sharepoint 2010 environment.
    1) When I try to add a new appointment, and click save button without any inputs in the popup window, I got error message which said I have to input appointment subject, then I input something into the subject textbox, and click save button again, but nothing happened.
    I followed this link http://www.telerik.com/community/forums/aspnet-ajax/scheduler/radschedule-issue-with-updatepanel-in-sharepoint-2010.aspx to solve the js error about popup window, but here is a new one.
    2) The radscheduler control obscured the dropdown menu in sharepoint 2010, please check attached screenshot.

    Please advice, Thanks
  2. Jayesh Goyani
    Jayesh Goyani avatar
    2733 posts
    Member since:
    May 2010

    Posted 14 Nov 2011 Link to this post

    Hello chuin hun,

    Please set z-index in the below class as per your menu z-index or set z-index of your frop down menu.

    .RadScheduler .rsHeader
               z-index:****   !important;

    Note : after set the z-index. don't forget to check Datepicker popup UI is not damaged.

    Jayesh Goyani
  3. Ivana
    Ivana avatar
    657 posts

    Posted 16 Nov 2011 Link to this post

    Hello chuin hun,

    To make a server-side check for an appointment, whether it is a recurring appointment or not, you could use the RecurrenceState property of an Appointment, as in the code-block below:
    protected void RadScheduler1_AppointmentClick(object sender, SchedulerEventArgs e)
        if (e.Appointment.RecurrenceState == Telerik.Web.UI.RecurrenceState.NotRecurring)
            //The appointment is not recurring.
        if (e.Appointment.RecurrenceState == Telerik.Web.UI.RecurrenceState.Occurrence
            && e.Appointment.RecurrenceState == Telerik.Web.UI.RecurrenceState.Master)
            //The appointment is recurring.
        if (e.Appointment.RecurrenceState == Telerik.Web.UI.RecurrenceState.Exception)
            //When changes are made upon a recurring appointment, it becomes exception.

    Regarding the SharePoint related issues:
    1. Could you please paste here the text of the error that you receive?
    2. You can try increasing the z-index of the menu by adding this style in the head section of the master page that you use:
       z-index: 5000 !important;

    Best wishes,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top