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

Schedule - sample doesnt work.

I need to use Schedule control in my project. I try to learn how to use it - copy the simplest sample and cannot see any output in the browser. Resulting page is always empty.
What i'm doing wrong? I've spent all day trying many settings but without success.
Please help :)

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1" %>
<%@ Register Assembly="Syncfusion.EJ.Web, Version=14.4460.0.20, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <form id="form1" runat="server">
        <ej:Schedule ClientIDMode="Static" ID="Schedule1" runat="server" CurrentView="Week" DataSourceID="SqlDataSource1" CurrentDate="2014-05-02">
            <AppointmentSettings Id="Id" Subject="Subject" AllDay="AllDay" StartTime="StartTime" EndTime="EndTime" Description="Description" Recurrence="Recurrence" RecurrenceRule="RecurrenceRule"/>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ScheduleDataConnectionString %>" SelectCommand="SELECT * FROM [DefaultSchedule]"></asp:SqlDataSource>

3 Replies

MP Mahesh Palanisamy Syncfusion Team February 20, 2017 12:26 PM UTC

Hi Dariusz, 

Thanks for contacting Syncfusion support. 

We suspect that your reported problem might be due to the conflict with the assembly version or the improper script reference. Kindly ensure the following cases, 

1.       Ensure the control’s dependency scripts and CSS referred in your web page is proper. 
2.       Ensure whether the “ScriptManager” is added in the “Site.Master” or else add the “ScriptManager” to your web page. 
3.       Ensure Syncfusion Assemblies are registered within the Web.config with proper versions in both web.config as well as in your aspx page where the control is defined. 
Refer the below code to register the syncfusion assemblies in web.config, 
    <compilation debug="true" strict="false" explicit="true" targetFramework="4.6"> 
            <add assembly="Syncfusion.EJ, Version=14.4460.0.20, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" /> 
            <add assembly="Syncfusion.EJ.Web, Version=14.4460.0.20, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" /> 
    <httpRuntime targetFramework="4.6"/> 
We have prepared the simple Schedule sample which can be downloaded from the below location, 

Refer the below link for the integration of syncfusion asp.net controls into the existing application, 

Refer the below link to render schedule control in application, 

Kindly check the above sample and let us know, if it helps and also if you need any further assistance on this. 


DP Dariusz Piech February 20, 2017 01:18 PM UTC

Hi Mahesh
Thank You very much! It was the matter of the missing scripts references and ScriptManager (because i dont use Site.Master - i didn't saw this).
It was very hepful for me!

KK Karthigeyan Krishnamurthi Syncfusion Team February 21, 2017 04:53 AM UTC

Hi Dariusz,  
We were happy to hear that your issue has been resolved. 
Please let us know if you need further assistance. 

Live Chat Icon For mobile
Up arrow icon