Error on resizing

2 posts, 0 answers
  1. Kevin Hendriks
    Kevin Hendriks avatar
    56 posts
    Member since:
    Feb 2009

    Posted 09 Jul 2012 Link to this post

    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)
  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 13 Jul 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top