MajorTickLength freezes visual studio

5 posts, 0 answers
  1. Shawn Shaddock
    Shawn Shaddock avatar
    25 posts
    Member since:
    Jun 2009

    Posted 10 Feb 2012 Link to this post

    Whenever I try to set the MajorTickLength property on the DayViewDefinition class in XAML, it freezes my visual studio.
  2. Shawn Shaddock
    Shawn Shaddock avatar
    25 posts
    Member since:
    Jun 2009

    Posted 10 Feb 2012 Link to this post

    After waiting a few minutes the designer gave me this error:

    System.OutOfMemoryException
    Exception of type 'System.OutOfMemoryException' was thrown.
       at Telerik.Windows.Controls.TimeRulerViewModel.CreateTicks(TimeSpan duration, DateData date) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Helpers\TimeRulerViewModel.cs:line 136
       at Telerik.Windows.Controls.TimeRulerViewModel.CreateData(DateTime date) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Helpers\TimeRulerViewModel.cs:line 117
       at Telerik.Windows.Controls.TimeRulerViewModel.GenerateDates() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Helpers\TimeRulerViewModel.cs:line 98
       at Telerik.Windows.Controls.ScheduleViewBase.TimeRulerHelper.GenerateItems() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\ScheduleView.TimeRulerHelper.cs:line 311
       at Telerik.Windows.Controls.ScheduleViewBase.TimeRulerHelper.PrepareTicksAndDates() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\ScheduleView.TimeRulerHelper.cs:line 224
       at Telerik.Windows.Controls.ScheduleViewBase.TimeRulerHelper.InitializeRecycleHelpers(UIElementCollection internalChildren, Double availableLength) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\ScheduleView.TimeRulerHelper.cs:line 256
       at Telerik.Windows.Controls.TimeRulerPanel.MeasureOverride(Size availableSize) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\TimeRulerPanel.cs:line 164
       at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.ContextLayoutManager.UpdateLayout()
       at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
       at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
       at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
       at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
       at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
  3. UI for WPF is Visual Studio 2017 Ready
  4. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 14 Feb 2012 Link to this post

    Hello Shawn,

    Thank you for writing to us and reporting this issue with the Visual Studio designer.  We've already logged it for fixing, but at the moment I cannot commit to a certain timeframe for providing the fix.

    We are sorry for any inconvenience caused.

    Greetings,
    Yana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  5. Muhammad
    Muhammad avatar
    2 posts
    Member since:
    Sep 2012

    Posted 21 Mar 2013 Link to this post

    Dear Telerik, 

    We are using  RadControls for Silverlight Q1 2013 and we are experiencing the same issue. Have you fixed this issue ? Kindly advise. Thanks. 
  6. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 21 Mar 2013 Link to this post

    Hello Muhammad,

    This fix is not included in the Q1 2013 release - it was delayed due to more urgent tasks.

    All the best,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
UI for WPF is Visual Studio 2017 Ready