)
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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to add the EJWEB Schedule control in the ASP.NET Application?

Platform: ASP.NET Web Forms |
Control: Schedule |
Published Date: February 12, 2015 |
Last Revised Date: May 24, 2019

The following steps helps you to add the EJWEB Schedule control manually into the ASP.NET application.

 

Step 1: Create the ASP.NET application in the Visual Studio.

 

Step 2: Drag and drop the Schedule control from the ToolBox to the design page, and ensure that the register assembly reference details are present in the design page. Refer to the following screenshots.

 

Schedule control in the ToolBox

Figure 1: Schedule control in the ToolBox

 

 

After dragging Schedule element to the design page and dropping from the ToolBox

Figure 2: After dragging Schedule element to the design page and dropping from the ToolBox

 

Step 3: Ensure that the necessary assemblies are added to the reference of your project as follows.

Necessary assembly reference

Figure 3: Necessary assembly reference

 

Step 4: Add the necessary assembly information to the Web.config file of your project.

Web.Config

<assemblies>
        <add assembly="Syncfusion.EJ.Web, Version=XX.XXXX.X.XX, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
        <add assembly="Syncfusion.EJ, Version= XX.XXXX.X.XX, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
      </assemblies>

 

Note:

In the above code examples XX.XXXX.X.XX specifies the Assembly version. For example, refer to the following code examples

 

 

Web.config

<add assembly="Syncfusion.EJ, Version= 13.2450.0.29, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
<add assembly="Syncfusion.EJ.Web, Version=13.2450.0.29, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>

 

Step 5: Add the necessary scripts and themes to your sample application as given in the following code example.

Necessary scripts and themes reference

Figure 4: Necessary scripts and themes reference

 

Step 6: Add reference to the added scripts and stylesheets in the Site.Master page as follows.

Site.Master

<link href="Content/default-theme/ej.widgets.all.min.css" rel="stylesheet" />
        <script src="Scripts/jquery-1.10.2.min.js"></script>
        <script src="Scripts/ej/jsrender.min.js"></script>
        <script src="Scripts/ej/jquery.easing-1.3.min.js"></script>
        <script src="Scripts/ej/jquery.globalize.min.js"></script>
        <script src="Scripts/ej/ej.web.all.min.js"></script>
        <script src="Scripts/ej/ej.webform.min.js"></script>
        <%--We need to refer to this script to trigger server side methods (Ex.Schedule1_ServerAppointmentSaved) %>

 

Step 7: Run the code. Now, the Schedule control is rendered as follows.

 

Schedule control display

Figure 5: Schedule control display

 

Sample Link:

http://www.syncfusion.com/downloads/support/directtrac/134563/ze/ScheduleSample1167752002

2X faster development

The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
ADD COMMENT
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
Live Chat Icon