Changing Target .Net Runtime from net6.0 to 7.0 in Maui.Scheduler Sample Project causes errors

Hello I am trying to see capabilities of syncfusion MAUI scheduler with sample project that comes with Essential Studio 22.2.5. As default target runtime was net 6.0, i changed it to net7.0 and getting error about UAP and Android. Think it is related with windows 10 sdk version but cant get it properly. What am i missing? I am suing windows 10 - 19045 build


Thanks


3 Replies 1 reply marked as answer

VM Vidyalakshmi Mani Syncfusion Team August 3, 2023 10:46 AM UTC

Hi ERTEM,

As per the instructions we have followed to check the reported issue, we are unable to replicate the issue from our end. We have prepared a simple sample in the NET 7.0 framework, and it’s working fine. Please see the attached sample for details.

 

Additional information

SfScheduler version: 22.2.7

 

Visual Studio Specifications:

Version 17.5.3 of Visual Studio 2022

 

Tested Device: Windows 10

OS version: 19044

 

Please check our sample and let us know if you are still facing the same issue. If not, please modify our sample and revert to us with the following details, which would be helpful for us to check on it and provide you with the solution as soon as possible:

  • Share the issue replicate video.
  • Share the scheduler code snippets.
  • Share the issue reproducible sample.

If the shared information doesn’t meet your requirements, kindly revert to us with more information; it will be helpful for us to provide you with a better solution.



Attachment: MAUISchedulerSample_1e5ec50f.zip


ER ERTEM August 3, 2023 01:05 PM UTC

Thanks, it is solved.

How can i limit schedule's visible time between 07.00am and 10pm in daily view? I mean i want it to start(and visible as well) from 07.00 am to 10.00pm instead 01.00am-11:00pm as default




VM Vidyalakshmi Mani Syncfusion Team August 4, 2023 04:39 PM UTC

Hi ERTEM,


Regarding limit schedule’s visible time from 07:00 AM to 10:00 PM

You can achieve your requirement by changing the StartHour and EndHour properties of
SchedulerDaysView, as well as the StartHour and EndHour properties of SchedulerTimelineView to hide non-business hours in the scheduler. Please refer to the below code snippets for your reference.


Code Snippets:

<scheduler:SfScheduler x:Name="Scheduler" View="Week" AllowedViews="Day,Week,WorkWeek,Month,TimelineDay,TimelineWeek,TimelineWorkWeek, TimelineMonth">


<scheduler:SfScheduler.DaysView>

    <scheduler:SchedulerDaysView

                             StartHour="7"

                             EndHour="22"/>

scheduler:SfScheduler.DaysView>


<scheduler:SfScheduler.TimelineView>

    <scheduler:SchedulerTimelineView

                                        StartHour="7"

                                    EndHour="22"/>

scheduler:SfScheduler.TimelineView>


scheduler:SfScheduler>


Please refer to our KB document to show only the required time periods in DaysView and TimelineView,

https://support.syncfusion.com/kb/article/11579/how-to-hide-the-calendar-non-working-hours-in-the-net-maui-event-scheduler-sfscheduler


We hope that this helps you. Please let us know if you need further assistance.


Marked as answer
Loader.
Up arrow icon