We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error on saving appointment (server side event)

Thread ID:





131882 Aug 1,2017 03:10 PM UTC Aug 2,2017 05:15 AM UTC ASP.NET Web Forms 1
Tags: Schedule
Marco Matteucci
Asked On August 1, 2017 03:10 PM UTC

I create a new Syncfusion ASP.NET project followed the steps in this link https://www.syncfusion.com/kb/3948/how-to-add-the-ejweb-schedule-control-in-the-asp-net-application and i add an EntityFramework element to connect my database.
In web.config i have, also, the following reference:

I add the schedule control and its events:

and everything seems to work perfectly fine:

i add the code behind the events exactly i found in this link:

the problem is when the code reach the loop through keyvaluepair:

here i get the following error:

i try to cast IEnumerable in Dictionary or something else but i can't find a solution.
Can you please help me?

(Same error in updating o stop dropping event)...

Karthigeyan Krishnamurthi [Syncfusion]
Replied On August 2, 2017 05:15 AM UTC

Hi Marco, 
Thank you for contacting Syncfusion support. 
We have prepared Entity CRUD sample with DataManger (standarad and recommended approach) instead of Schedule events for your reference which can be download from the below location. 
<ej:Schedule ID="Schedule1" ClientIDMode="Static" Height="525px" Width="100%" CurrentDate="10/10/2015" runat="server" DataSourceID="SqlDataSource1" > 
     <AppointmentSettings ApplyTimeOffset="false" Id="Id" Subject="Subject" AllDay="AllDay" StartTime="StartTime" EndTime="EndTime" Recurrence="Recurrence" /> 
     <DataManager CrossDomain="true" URL="Default.aspx/GetData" CrudURL="Default.aspx/CrudResult" InsertURL="Default.aspx/InsertData" UpdateURL="Default.aspx/UpdateData" RemoveURL="Default.aspx/RemoveData" Adaptor="UrlAdaptor" /> 
Note: Kindly set RedirectMode to Off in RouteConfig.cs file. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon