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

I need use the Appointments Blocking Dates and Time but in the Syncfusion.EJ2.Schedule.View I don't have the Timeline's.

Thread ID:

Created:

Updated:

Platform:

Replies:

141914 Jan 10,2019 10:50 AM UTC Jan 11,2019 05:21 AM UTC ASP.NET MVC - EJ 2 1
loading
Tags: Schedule
Daniel Martinez
Asked On January 10, 2019 10:50 AM UTC

Hi,
I'm used the new control name's Blocking Dates and Time, but I can't put the Timeline's because I don't have the attributes in the Syncfusion.EJ2.Schedule.View.



Can you help me with this problem?
And if this possible, can I see the some example for Appointments Blocking Dates and Time.

Thank you!



Karthigeyan Krishnamurthi [Syncfusion]
Replied On January 11, 2019 05:21 AM UTC

 
Thank you for contacting Syncfusion support. 
 
We can implement block interval feature by simply defining the IsBlock field with in event collection. We have prepared the below sample to display the block interval option in Timeline mode. 
 
List<AppointmentData> appData = new List<AppointmentData>(); 
appData.Add(new AppointmentData 
{ 
    Id = 1, 
    Subject = "Not Available", 
    StartTime = new DateTime(2019, 1, 11, 10, 0, 0), 
    EndTime = new DateTime(2019, 1, 11, 12, 0, 0), 
    IsAllDay = false, 
    IsBlock = true, 
}); 
 
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.

Please sign in to access our forum

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

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

;