This is a migrated thread and some comments may be shown as answers.

Error on resizing

1 Answer 72 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Kevin Hendriks
Top achievements
Rank 1
Kevin Hendriks asked on 09 Jul 2012, 12:09 PM
Hello,

Last week I converted from 2011Q3  Scheduler to the 2012Q1 ScheduleView

I got all of my custom code to work again, but I am running into 1 problem
Resizing (no custom code) does not work properly any more I am using a custom appointment.
Moving a appointment does work all the time

I get the following error 
bij Telerik.Windows.Controls.ScheduleViewBase.<>c__DisplayClass1d.<GetDecorationBlocksForSlot>b__19(IGroupItemInfo info) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\ScheduleView.Helpers.cs:regel 25
   bij System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   bij System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
   bij System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
   bij Telerik.Windows.Controls.CollectionExtensions.ForEach[T](IEnumerable`1 source, Action`1 action) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Extensions\CollectionExtensions.cs:regel 192
   bij Telerik.Windows.Controls.HighlightPanel.MeasureOverride(Size availableSize) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Selection\HighlightDecorationsPanel.cs:regel 80
   bij System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   bij System.Windows.UIElement.Measure(Size availableSize)
   bij System.Windows.ContextLayoutManager.UpdateLayout()
   bij System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   bij System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   bij System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   bij System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   bij System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   bij System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   bij System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

1 Answer, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 13 Jul 2012, 03:05 PM
Hi Kevin,

The RadScheduler and RadScheduleView are entirely different controls. Any modifications or customizations you have made upon RadScheduler will have to be redone in RadScheduleView. The migration guidance document will help you along the process.

Resize and Drag-and-drop of appointments should work properly if no customizations have been applied. Please, share a testable sample or sources which reproduces this exception.

Kind regards,
Dani
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Kevin Hendriks
Top achievements
Rank 1
Answers by
Dani
Telerik team
Share this question
or