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

Set all day to false as default


I'd like to when a new event edit is opened for the All Day field to be set to false as default and not true.

How can this 

1 Reply 1 reply marked as answer

RV Ravikumar Venkatesan Syncfusion Team March 14, 2023 04:04 PM UTC

Hi Francisco,

API: https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnPopupOpen

You can achieve your requirement by setting up the args.Data.IsAllDay to false on the OnPopupOpen event of the Scheduler as shown in the below code snippet.


<SfSchedule @ref="ScheduleRef" TValue=AppointmentData>

    <ScheduleEvents TValue="AppointmentData" OnPopupOpen="OnPopupOpen"></ScheduleEvents>



@code {

    SfSchedule<AppointmentData> ScheduleRef;


    public void OnPopupOpen(PopupOpenEventArgs<AppointmentData> args) {

        if(args.Data != null && args.Data.IsAllDay) {

            args.Data.IsAllDay = false;





Ravikumar Venkatesan

Attachment: syncfusion_blazor_scheduler_open_editor_with_allday_false_5bca23ee.zip

Marked as answer
Live Chat Icon For mobile
Up arrow icon