'Infinity' is not a valid value for property 'Width'.

6 posts, 1 answers
  1. Moochin
    Moochin avatar
    3 posts
    Member since:
    Sep 2012

    Posted 15 Mar 2011 Link to this post

    I'm trying to use the RadTileView and RadFluidContentControl and I'm getting the error "'Infinity' is not a valid value for property 'Width'." when I change the underlying data that the RadTileView is bound to using ItemSource.

    UPDATE: It renders the first time fine and shows the correct tiles bases on the databound collection, but if I change the underlying datasource that is when I receive the error

    Any suggestions welcome, cheers.

    System.ArgumentException was unhandled
      Message='Infinity' is not a valid value for property 'Width'.
      Source=WindowsBase
      StackTrace:
           at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
           at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
           at System.Windows.FrameworkElement.set_Width(Double value)
           at Telerik.Windows.Controls.RadTileView.AnimateItemSize(RadTileViewItem item, Size targetSize) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\RadTileView.cs:line 927
           at Telerik.Windows.Controls.RadTileView.<AnimateItemSizes>b__29(RadTileViewItem c) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\RadTileView.cs:line 1060
           at System.Collections.Generic.List`1.ForEach(Action`1 action)
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 16 Mar 2011 Link to this post

    Hi Peter,

     Could you please send us some code snippets or a project that reproduces the problem because I wasn't able to recreate it.

    Best wishes,
    Zarko
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. UI for WPF is Visual Studio 2017 Ready
  4. Moochin
    Moochin avatar
    3 posts
    Member since:
    Sep 2012

    Posted 16 Mar 2011 Link to this post

    It seems to only happen if I have MinimizedItemsPosition="Bottom", it works fine if it is set to "Right". I will try and mockup an example to post.
  5. Answer
    Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 17 Mar 2011 Link to this post

    Hello Peter,

     I'll advise you to try the new dlls - 2011.1.315 (the official Q1 Release) and see if this problem is present there.

    Greetings,
    Zarko
    the Telerik team
  6. SANJEEVKUMAR.T
    SANJEEVKUMAR.T avatar
    1 posts
    Member since:
    Apr 2014

    Posted 20 Apr 2014 Link to this post

    I am getting the same error in windows application.i searched for "minimizeditemsposition" in my project.But unable to find,please help me on finding where is "minimizeditemsposition" or any other issues.


    Awaiting for your kind reply at earliest.
  7. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 22 Apr 2014 Link to this post

    Hello SANJEEVKUMAR,
    We're not aware of such issue so I'd like to ask you for some more information:
    1) What is your exact dll version?
    2) Are you using a data bound tileView ?
    3) When does this error occur - on application start or later ?
    Also we'll really appreciate a sample project so that we could investigate the issue on our side.
    We're looking forward to hearing from you.

    Regards,
    Zarko
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top
UI for WPF is Visual Studio 2017 Ready