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

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

5 Answers 461 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Moochin
Top achievements
Rank 1
Moochin asked on 15 Mar 2011, 11:43 AM
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)

5 Answers, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 16 Mar 2011, 10:38 AM
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!
0
Moochin
Top achievements
Rank 1
answered on 16 Mar 2011, 10:44 AM
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.
0
Accepted
Zarko
Telerik team
answered on 17 Mar 2011, 10:10 AM
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
0
SANJEEVKUMAR.T
Top achievements
Rank 1
answered on 20 Apr 2014, 02:12 PM
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.
0
Zarko
Telerik team
answered on 22 Apr 2014, 03:47 PM
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.
 
Tags
TileView
Asked by
Moochin
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Moochin
Top achievements
Rank 1
SANJEEVKUMAR.T
Top achievements
Rank 1
Share this question
or