How to set a value to a property in default EditDialog in Scheduler Component

Hi great support.

I am implementing this demo to my project.
https://blazor.syncfusion.com/demos/scheduler/room-scheduler?theme=bootstrap4

I liked default Dialog edit window and i don't want to make replaced template. here is dialog i mentioned.


When i am opening this dialog,
I just want to set a opening value to "Travel Summry" textbox like this;


How can i achive this ?

Good day.

7 Replies 1 reply marked as answer

BL Blazor July 2, 2020 07:11 PM UTC

Actually i am setting value at OnPopupOpen event but its not visible on dialogedit window;




AK Alagumeena Kalaiselvan Syncfusion Team July 3, 2020 09:09 AM UTC

Dear customer, 

Greetings from Syncfusion support. 

We have validated your reported case “how to set value to the property in default edit dialog” and you can customize the Scheduler fields value using Default property to achieve this case. Refer the below code for that. 
        <SfSchedule TValue="RoomData" Width="100%" Height="650px" SelectedDate="@(new DateTime(2020, 1, 1))" CurrentView="View.TimelineWeek"> 
            ... 
            <ScheduleEventSettings DataSource="@DataSource"> 
                <ScheduleField> 
                    <FieldSubject Title="Travel Summary" Name="Subject" Default="seated value"></FieldSubject>  // To set value the subject field 
                    <FieldLocation Title="Source" Name="Location"></FieldLocation> 
                    <FieldDescription Title="Comments" Name="Description"></FieldDescription> 
                    <FieldStartTime Title="Departure Time" Name="StartTime"></FieldStartTime> 
                    <FieldEndTime Title="Arrival Time" Name="EndTime"></FieldEndTime> 
                </ScheduleField> 
            </ScheduleEventSettings> 
        </SfSchedule> 

The above sample can be downloaded from the following link 

Also, currently we are facing issue with default value customization and you can track the issue status by the below mentioned feedback link. 

The fix for this will be available in our patch release which is expected to be Scheduled on 2nd week of July, 2020. 

Regards 
Alagumeena.K 



BL Blazor July 3, 2020 05:10 PM UTC

Thanks Alagumeena,

I have tried Default property actually . I didn't work. So I am waiting this issue to solve.
https://www.syncfusion.com/feedback/15741/specified-default-value-not-shown-in-editor-window 

thanks for close expectation date.



VM Vengatesh Maniraj Syncfusion Team July 6, 2020 04:19 AM UTC

Dear Customer, 

Thanks for the update. 

As we informed earlier, the fix will be available in the second week of July 2020. 

Regards, 
Vengatesh  



VM Vengatesh Maniraj Syncfusion Team replied to Alagumeena Kalaiselvan July 15, 2020 11:33 AM UTC

Dear customer, 

Greetings from Syncfusion support. 

We have validated your reported case “how to set value to the property in default edit dialog” and you can customize the Scheduler fields value using Default property to achieve this case. Refer the below code for that. 
        <SfSchedule TValue="RoomData" Width="100%" Height="650px" SelectedDate="@(new DateTime(2020, 1, 1))" CurrentView="View.TimelineWeek"> 
            ... 
            <ScheduleEventSettings DataSource="@DataSource"> 
                <ScheduleField> 
                    <FieldSubject Title="Travel Summary" Name="Subject" Default="seated value"></FieldSubject>  // To set value the subject field 
                    <FieldLocation Title="Source" Name="Location"></FieldLocation> 
                    <FieldDescription Title="Comments" Name="Description"></FieldDescription> 
                    <FieldStartTime Title="Departure Time" Name="StartTime"></FieldStartTime> 
                    <FieldEndTime Title="Arrival Time" Name="EndTime"></FieldEndTime> 
                </ScheduleField> 
            </ScheduleEventSettings> 
        </SfSchedule> 

The above sample can be downloaded from the following link 

Also, currently we are facing issue with default value customization and you can track the issue status by the below mentioned feedback link. 

The fix for this will be available in our patch release which is expected to be Scheduled on 2nd week of July, 2020. 

Regards 
Alagumeena.K 


Dear Customer,

 

We are glad to announce that our latest weekly release in the version 18.2.0.45 has been rolled out successfully. In that release, we have fixed the reported issue.  So, we suggest you upgrade our Syncfusion packages to avail of the fix in your end.

 

Please find the links below.

 

NuGet Link: https://www.nuget.org/packages/Syncfusion.Blazor/18.2.0.45

Release notes: https://blazor.syncfusion.com/documentation/release-notes/18.2.45/#scheduler

Feedback: https://www.syncfusion.com/feedback/15741/specified-default-value-not-shown-in-editor-window

 

Kindly get back to us if you need any further assistance.

 

Regards,

Vengatesh 



BL Blazor July 18, 2020 09:19 PM UTC

Hi Vengatesh,

I have checked your sample app . "seated value"  is not placed in "Travel Summry"  text box.
I think this problem didn't fixed yet.



HB Hareesh Balasubramanian Syncfusion Team July 20, 2020 12:19 PM UTC

Dear Customer, 

Sorry for the inconvenience caused. 

We have validated your reported problem at our end. We regret to let you know that, we have fixed the issue at our end but due to some technical issue the fixed patch is not included in the last release 18.2.0.45 version. We will include the fix in our upcoming patch release which is scheduled on July 22, 2020. We would appreciate your patience. 
 
 
Regards, 
Hareesh 


Marked as answer
Loader.
Up arrow icon