Hello, I just installed windows 8 pro and VS2012, and I have a problem with your scheduling components (12.1).The steps to reproduce the problem are very easy:
1) Create a new WPF application (Net Framework 4.5)2) Drag and drop a ScheduleView
Roberto Dalmonte
The exception was added recently to fix a bug. A zero duration timerange is an invalid working time (i.e. you cannot have a working time without having some duration to the range) that would not have been treated as any working time. Is there a reason you were adding that?
I have already been using this on C# 4.0 application, which is already in production since past 1 year. It throws this error only on 4.5 and not on 4.0.
A zero duration TimeRange is not valid for working times so an exception is thrown when such a TimeRange is added to the WorkingHours. That is the correct behavior.
I downloaded the patch and now started getting another issue.
I am using the following code, which works fine on C# 4.0, but throws an error on C# 4.5
<ig:ScheduleSettings.WorkingHours>
<ig:WorkingHoursCollection>
<ig:TimeRange Start="00:00" End="00:00" />
</ig:WorkingHoursCollection>
</ig:ScheduleSettings.WorkingHours>
"Add value to collection of type 'Infragistics.Controls.Schedules.WorkingHoursCollection' threw an exception."
I need to set the "End" value greater than "Start" Value, then it works fine.
Hello,
The Service Release is already out. You can download it from our website -> Account -> Select the product -> Select ‘Service Release’ tab.
Thank you for your patience.