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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to pass the Collection of Object values to the Schedule control DataSource from the code behind page in ASP.NET?

Platform: ASP.NET Web Forms |
Control: Schedule |
Published Date: February 16, 2015 |
Last Revised Date: August 26, 2015

You can pass the collection objects to the Schedule control in code behind page.

The following steps help you to pass the collection objects to the Schedule control DataSource from the Code behind page of the ASP.NET application.

Step 1: Refer to the online KB documentation from the following location and add the EJWEB Schedule control to the ASP.NET application.

Step 2: Add the basic schedule rendering code in the design page as shown below


Step 3: Now, add the following codes to define various properties of the Schedule control in the code behind page.




Step 4: Create a class with the required fields to create the object collection. Refer to the following code example to create the class.



Step 5: Define the “GetRecords” method and add the schedule appointment object collection within it. Refer the following code example to add the appointment collection (You can define any number of appointment objects within this method).




Step 6: Run the sample and the Schedule control renders as follows.

Figure 1: Schedule control

Sample links

C# Sample


VB Sample


2X faster development

The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile