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.
Syncfusion Feedback

for beginnger, just to show appointments

Thread ID:

Created:

Updated:

Platform:

Replies:

129533 Mar 23,2017 09:06 PM UTC Mar 24,2017 07:27 AM UTC ASP.NET Web Forms 1
loading
Tags: Schedule
Victor Watanabe
Asked On March 23, 2017 09:06 PM UTC

Hi All,

I'm new to Syncfusion, and trying to understand how to show the appointments from SQL Server with Schedule control.

In the project, I put the ScripManager, SqlDataSource and Schedule.

The SqlDataSouce returns the next fields: IDEvento, InicioEvento, FinEvento, TituloEvento, DescEvento

and the Schedule control has next code:

<ej:Schedule ID="Schedule1" runat="server" ClientIDMode="Static" DataSourceID="sdsEventos"  >
            <AppointmentSettings Id="IDEvento" Subject="TituloEvento" StartTime="InicioEvento" EndTime="FinEvento" Description="DescEvento" />
        </ej:Schedule>

When I run the project, it doesn't show anything, just an empty page. Of course the sql datasource returns rows.

What I'm doing wrong?.

It is Visul Studio 2013 and Syncfusion 15.1450.0.37



Karthigeyan Krishnamurthi [Syncfusion]
Replied On March 24, 2017 07:27 AM UTC

Hi Victor, 
 
Thank you for contacting Syncfusion support. 
 
We suspect that required script files may not be referred correctly which could be the cause for the issue. We have prepared the simple Schedule sample which can be download from the below link and kindly refer the below code example used in the sample. 
 
<Code> 
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server"> 
<ej:Schedule ClientIDMode="Static" runat="server" Height="525px" Width="100%" ID="Schedule1" DataSourceID="SqlData" CurrentDate="5/2/2014">     
    <AppointmentSettings ApplyTimeOffset="false" Id="Id" Subject="Subject" AllDay="AllDay" StartTime="StartTime" EndTime="EndTime" Description="Description" Recurrence="Recurrence" RecurrenceRule="RecurrenceRule"/> 
</ej:Schedule> 
    <asp:SqlDataSource ID="SqlData" runat="server" ConnectionString="<%$ ConnectionStrings:ScheduleSample %>" 
            SelectCommand="SELECT * FROM [MultipleResource]"></asp:SqlDataSource> 
</asp:Content> 
</Code> 
 
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.

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

;