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.

Schedule - sample doesnt work.

Thread ID:

Created:

Updated:

Platform:

Replies:

128975 Feb 19,2017 04:34 PM Feb 20,2017 11:53 PM ASP.NET Web Forms 3
loading
Tags: Schedule
Dariusz Piech
Asked On February 19, 2017 04:34 PM

Hello
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">
    <title></title>
</head>
<body>
    <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"/>
        </ej:Schedule>
        
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ScheduleDataConnectionString %>" SelectCommand="SELECT * FROM [DefaultSchedule]"></asp:SqlDataSource>
    </form>
</body>
</html>


Mahesh Palanisamy [Syncfusion]
Replied On February 20, 2017 07:26 AM

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, 
<Code> 
<system.web> 
    <compilation debug="true" strict="false" explicit="true" targetFramework="4.6"> 
              <assemblies> 
            <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" /> 
          </assemblies> 
    </compilation> 
    <httpRuntime targetFramework="4.6"/> 
  </system.web> 
 
</Code> 
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. 

Regards, 
Mahesh 


Dariusz Piech
Replied On February 20, 2017 08:18 AM

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!
Regards
Darek

Karthigeyan Krishnamurthi [Syncfusion]
Replied On February 20, 2017 11:53 PM

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


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.

;