Error with Event on Two Days
December 2, 2010 05:47 AM
Hello,
In Basic Schedule Demo I try to create a recurring event, which start a day Ă 19h (7PM) and end at 7h the next day, and I want to repeat for all working day. When I confirm the event, I got this error :
Message : Width and Height must be non-negative.
Stacktrace : at System.Windows.Rect..ctor(Double x, Double y, Double width, Double height)
at Syncfusion.Windows.Controls.Schedule.ScheduleDaysAppointmentLayoutPanel.ArrangeOverride(Size finalSize)
at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
at System.Windows.UIElement.Arrange(Rect finalRect)
at System.Windows.ContextLayoutManager.UpdateLayout()
at Syncfusion.Windows.Controls.Schedule.ScheduleDaysView.SetupAppointments()
at Syncfusion.Windows.Controls.Schedule.ScheduleDaysView.OnAppointmentsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at Syncfusion.Windows.Controls.Schedule.ScheduleDaysView.SaveAppointments(ScheduleAppointmentEditorControl editor)
at Syncfusion.Windows.Controls.Schedule.ScheduleDaysView.editorControl_SaveButtonClick(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Button.OnClick()
....
====================================================
Second error : I set a recurriing event in outlook 2007, I save my calendar (Parameter : All infos, on the next 30 days...) and try to import in Ical Import/export Sample, I got this exception :
Message : Input string was not in a correct format.
StackTrace : at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Syncfusion.Windows.Controls.Schedule.Schedule.parseDateTime(String date, Boolean allday, Boolean endtime)
at Syncfusion.Windows.Controls.Schedule.Schedule.ImportICS()
at Basic_Schedule_Demo.Window1.ImportICS_Click(Object sender, RoutedEventArgs e) in C:\Users\....\AppData\Local\Syncfusion\EssentialStudio\8.4.0.10\WPF\Schedule.WPF\Samples\3.5\WindowsSamples\Import and Export\ICal Import and Export Demo\CS\Window1.xaml.cs:line 94
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Button.OnClick()
====================================================
And I got a question at last : Is it possible de show event with a gantt diagram, I want that event on two day are drawed on one line, simplify the report.
Regards
Arnard