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.
Unfortunately, activation email could not send to your email. Please try again.

EJ:Schedule - Server Side API Methods/Event Handlers

Thread ID:

Created:

Updated:

Platform:

Replies:

129286 Mar 9,2017 10:54 AM Mar 13,2017 08:47 AM ASP.NET Web Forms 3
loading
Tags: Schedule
Matt Micheletti
Asked On March 9, 2017 10:54 AM

Hello,

I am trying out the Schedule control and trying to have it communicate with the server-side of a project of mine. All of my code & support is in C# libraries/files. I have read through various portions of Syncfusion's documentation and resources sections (ASP.NET, JavaScript, etc.) and I am struggling severely to get an instance of the Schedule control to work with my existing code structure.

First Question: Are there any server-side API's for the Schedule control?

Second Question: Is there a comprehensive and detailed documentation (including extensive examples) of the aforementioned server-side API's (if any exist)?

Third Question: Are there any API's that allow for communication of the client-side JavaScript files/functions OR Schedule controls's numerous arguments/data to the server-side?

Fourth Question: For any API's (client-side or server-side) is there a list of members, methods, and events that have detailed examples of how to use them/they are used?

Please and thanks,
Matt

Karthigeyan Krishnamurthi [Syncfusion]
Replied On March 10, 2017 07:32 AM

Hi Matt, 
 
Thank you for contacting Syncfusion support. 
 
Please find the following responses for your queries. 
 
Query1 

Yes, there are serve side events for Schedule like its client side events. Kindly refer the below video demo to know about the server side events and their arguments. 

Query2 
 
Currently there is no document for server side events and it is mandatory to include the below script file to invoke the server side events.  

<Code> 
<script src="http://cdn.syncfusion.com/14.4.0.20/js/common/ej.webform.min.js"></script> 
</Code> 

Query3 & Query4 
 
Below link will explains about the Schedule client side events and its argument. ASP server side events argument will be similar to it and refer the above video demo which explains about the  OnServerAppointmentClick event argument.  
 
Regards, 
Karthigeyan 
 


Matt Micheletti
Replied On March 10, 2017 01:00 PM

Hello Karthigeyan,

Thank you for your help.Server-side API Documentation should be made because those events can be critical to specific projects. Your demo actually explained a lot to me and allowed me to find methods I was looking for. I never saw the "OnServer..." events in my properties window in VS for some reason, but after I manually inserted one, the rest showed up. Thanks! :)

I have another question about server side events. Is there a "OnServer..." event that triggers when navigation occurs in the schedule? I use the JavaScript "Navigation" event, but I have to do a nasty trick to reload my data structure on the server by manually forcing a post-back. it would be better to use a server-side event function to avoid future issues, but I could not find one.

Please and thanks,
Matt


Sellakumar [Syncfusion]
Replied On March 13, 2017 08:47 AM

Hi Matt, 
 
Thanks for your update. 
 
As per your requirement, server side events are possible during navigation. By using “OnServerNavigation” server side event, while navigating the dates or views in schedule the server events will trigger. We had prepared a sample based on your requirement, which can be downloaded from the following location: 
 
 
Kindly check the above sample and revert us with further details, if we have misunderstood your requirement.  
 
Regards, 
Sellakumar K

CONFIRMATION

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.

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.

;