BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Ralph,
Thanks for using Syncfusion products.
We have prepared a workaround sample with the ““Schedule control Custom Views support” which try to meet your requirement, “week view to start on a Monday and end on a Sunday”. Please find the following code snippet.
<Code>
@{
List<string> views = new List<string>() { "Day","Week","WorkWeek","Month","CustomView" }; // You can specify the required views in this list
}
@(Html.EJ().Schedule("Schedule1")
.Width("100%")
.Height("525px")
.Views(views) // Here we are passing the views collection to the schedule control
.CurrentView(CurrentView.CustomView) // This will set the default schedule view as CustomView
.RenderDates(dt => dt.Start(new DateTime(2014, 11, 3)).End(new DateTime(2014, 11, 9))) // We need to specify the Monday Date For Start and Sunday Date for End
.EnableAppointmentNavigation(false)
.AppointmentSettings(fields => fields.Datasource(Model)
.Id("Id")
.Subject("Subject")
.StartTime("StartTime")
.EndTime("EndTime")
.Recurrence("Recurrence")
.RecurrenceRule("RecurrenceRule"))
)
</Code>
We have also prepared a sample using the above code snippets which can be downloaded from the following location.
http://www.syncfusion.com/downloads/support/directtrac/118027/BasicScheduleSample-836260487.zip
Please let us know if it helps and any further assistance on this.
Regards,
Velmurugan
Hi Ralph,
Thanks for your greetings.
Please let us know if you need any further assistance, we will be happy to help you.
Regards,
Velmurugan