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

show-weekend attribute is not working

Hi Support:

I just installed the latest version (15.2600.0.40) to try the show-weekend attribute in the schedule control, but the weekends are shown.

In my view I have this:

<ej-schedule id="myCalendar" width="100%" height="525px" show-quick-window="false" current-date="DateTime.Now"
             time-zone="@ViewData["TimeZone"]" show-time-zone-fields="false" current-view="Month" show-weekend="false"
             start-hour="8" end-hour="17"
             views="@views" appointment-window-open="onAppointmentWindowOpen">
    <e-time-scale enable="false"></e-time-scale>
    <e-appointment-settings id="ID" subject='"Subject"' start-time='"StartTime"' end-time='"EndTime"'
                            start-time-zone='"StartTimeZone"' end-time-zone='"EndTimeZone"'
                            all-day='"AllDay"' recurrence='"Recurrence"' recurrence-rule='"RecurrenceRule"'>

        <e-datamanager url="GetData" adaptor="UrlAdaptor"></e-datamanager>



What could I be missing here.

Thanks in advance.


3 Replies

SE Sellakumar Syncfusion Team May 15, 2017 05:41 PM UTC

Hi David, 
Thanks for contacting Syncfusion support. 
With the provided code snippet, we have created and checked a new sample with the reported issue on show-weekend property – but we were unable to reproduce the it at our end. We also suspect that the browser cookies in your machine is not cleared properly and therefore we kindly request you to try clearing it once before running the project.  
The weekends are hidden on the Scheduler using this property show-weekend=”false” which can be viewed from the below downloadable sample link –  
If the problem still exists at your end, kindly try to reproduce the issue on the above provided sample link and revert us to proceed further on it. 
Sellakumar K 

DS dsapo May 15, 2017 07:21 PM UTC

Thank Sellakumar, I cleared the cookies in Chrome and is working as expected.



KK Karthigeyan Krishnamurthi Syncfusion Team May 16, 2017 05:18 AM UTC

Hi David,  
We are happy that your issue has been resolved.  

Live Chat Icon For mobile
Up arrow icon