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

How to perform CRUD operation in Scheduler with SignalR concept?

The following steps shows how to perform CRUD (Create, Update and Delete) operations on schedule control with the SQL table data making use of SignalR concept.

Step 1: Create a Schedule sample with CRUD operations by referring the link.

Step 2: Add the necessary scripts of SignalR and other assembly reference as shown below.

Figure 1 - SignalR script reference


Figure 2 - SignalR assembly reference

Step 3: To make use of the SignalR concept, create a SignalR Hub class in your application as shown in the below image.

Figure 3 - SignalR Hub Class creation

Step 4: Add the below highlighted SignalR mapping code in the Startup class to avoid the SignalR/hubs not found script error.



Step 5: Define the method “Modifywithin the scheduleHub class, where the method name (modify) to be used in the client side is declared as given below.



Step 6: In the Default.aspx page, add the following script code which gets executed every time, whenever the Scheduler appointments in the page is being added/ modified/ deleted/ dragged/ resized/ navigated simultaneously in one or many of the browser instances. Also, once it is executed, those changes will be reflected parallel on all the clients.




Step 7: Run the below attached sample with which you can perform insert, edit, and delete operations on the schedule appointments that simultaneously reflects on the SQL database and also on all the client systems.

Sample Link: http://www.syncfusion.com/downloads/support/directtrac/146344/ze/Sample-972961372

Article ID: Published Date: Last Revised Date: Platform: Control:
5739 11/20/2015 11/20/2015 ASP.NET Web Forms Schedule
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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