Hi,
I have been using the RadScheduler along with the ExchangeSchedulerProvider (from the SDK) to synchronize my outlook calendar with the application. The synchronization fails in the following scenario :
From a series of recurring appointments, if a single event is deleted, the intended change is reflected in the Outlook Calendar, but even after page reload, this deletion isn't reflected in the RadScheduler. It works fine when the complete series is deleted.
I would like to know if there is a way to have the change reflected as soon as the event is deleted without having to reload the page as for the deletion of a single non recurrent event or a complete recurring series, it worked fine without page reload.
The following are the sample code snippets:
I have been using the RadScheduler along with the ExchangeSchedulerProvider (from the SDK) to synchronize my outlook calendar with the application. The synchronization fails in the following scenario :
From a series of recurring appointments, if a single event is deleted, the intended change is reflected in the Outlook Calendar, but even after page reload, this deletion isn't reflected in the RadScheduler. It works fine when the complete series is deleted.
I would like to know if there is a way to have the change reflected as soon as the event is deleted without having to reload the page as for the deletion of a single non recurrent event or a complete recurring series, it worked fine without page reload.
The following are the sample code snippets:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
telerik:RadScriptBlock
ID
=
"radScriptBlock"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
</
script
>
</
telerik:RadScriptBlock
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
id
=
"wrapper"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager"
runat
=
"server"
/>
<
telerik:RadStyleSheetManager
ID
=
"RadStyleSheetManager"
runat
=
"server"
/>
<
telerik:RadAjaxManager
runat
=
"server"
ID
=
"RadAjaxManager1"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadSchedulerCalendar"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadSchedulerCalendar"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
div
id
=
"content"
>
<
div
id
=
"calendar"
>
<
h2
class
=
"caption"
>My Calendar:</
h2
>
<
telerik:RadScheduler
runat
=
"server"
ID
=
"RadSchedulerCalendar"
OverflowBehavior
=
"Expand"
Skin
=
"Metro"
AppointmentStyleMode
=
"Default"
CustomAttributeNames
=
"Class,AppointmentID"
TimeZoneOffset
=
"-04:00:00"
ShowAllDayRow
=
"False"
ShowViewTabs
=
"False"
SelectedView
=
"WeekView"
FirstDayOfWeek
=
"Monday"
LastDayOfWeek
=
"Friday"
TimeZoneID
=
"Eastern Standard Time"
>
</
telerik:RadScheduler
>
</
div
>
</
div
>
</
div
>
</
form
>
</
body
>
</
html
>
public partial class _Default : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
RadSchedulerCalendar.Provider = new ExchangeSchedulerProvider(@"https://outlook.office365.com/EWS/Exchange.asmx", "username", "password", "domain");
}
protected void Page_Load(object sender, EventArgs e)
{
RadSchedulerCalendar.Rebind();
}
}