Problem when I change TimeIntervalSize

I put the property DaysViewSettings.TimeIntervalSize = 220.0, I move schedule scroll to the end of the day and I change the property DaysViewSettings.TimeIntervalSize = -1.0 (to see the whole day in one view) and it gives me the following exception: The index is out of range.



5 Replies

SS SaiGanesh Sakthivel Syncfusion Team October 4, 2022 12:31 PM UTC

Hi Gerardo,


#Regarding Problem when I change TimeIntervalSize

We could not replicate the reported scenario from our end. We have prepared the sample as per the information and checked the sample from our side. Please refer to the tested sample in the following locations.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/SchedulerWPF2005234628


Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us back with the following details,


  • Modify our sample to reproduce the issue.

  • Share the issue replicate video.


It will be helpful for us to check on it and provide you with the solution as soon as possible. 
  

Regards,
SaiGanesh Sakthivel



GL Gerardo Lopez Ruiz October 4, 2022 01:48 PM UTC

I managed to reproduce the error in your example:


Add a SpecialTimeRegion:


public MainWindow()

{

     InitializeComponent();

    SpecialTimeRegion restriccion = new SpecialTimeRegion();

    restriccion.StartTime = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, 14, 0, 0);

    restriccion.EndTime = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, 15, 0, 0);

    restriccion.Text = "Lunch";

     restriccion.CanEdit = false;

     Schedule.DaysViewSettings.SpecialTimeRegions.Add(restriccion);

}


Move schedule scroll to the end of the day.


And click Change.



SS SaiGanesh Sakthivel Syncfusion Team October 5, 2022 01:00 PM UTC

Hi Gerardo,


#Regarding Problem when I change TimeIntervalSize

Currently, we are validating the reported scenario from our end. We will update you with the further details on October 07, 2022. We appreciate the patience until then.


Regards,
SaiGanesh Sakthivel



SS SaiGanesh Sakthivel Syncfusion Team October 7, 2022 12:35 PM UTC

Hi Gerardo,


#Regarding Problem when I change TimeIntervalSize

We have found and fixed the reported scenario from our end. Currently, the issue fix is in the testing phase, once the automation is ensured and we will include the issue fix in our weekly nuget release which is expected to roll out on October 18, 2022. We appreciate your patience until then.


Regards, 

SaiGanesh Sakthivel



SS SaiGanesh Sakthivel Syncfusion Team October 18, 2022 08:48 AM UTC

Hi Gerardo,


#Regarding Problem when I change TimeIntervalSize

We have fixed the reported issue and included the issue fix in our latest Weekly NuGet release update version 20.3.0.50 onwards which is available for download (nuget.org). 


We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.


Regards,

SaiGanesh Sakthivel


Loader.
Up arrow icon