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

Exception with PreservePositionWhenMaximized

1 Answer 94 Views
TileView
This is a migrated thread and some comments may be shown as answers.
DS
Top achievements
Rank 1
DS asked on 03 Jun 2011, 11:54 AM

Hi,

I'm using "PreservePositionWhenMaximized=True" in TileView.
Exception always occurs OnPropertyChanged when there is TileView item with Maximized state
But, no exception occurs OnPropertyChanged when  there isn't TileView item with Maximized state

  

what's the problem?

 

environment
telerik.windows.controls 2010.3.1314.40
visualstudio 2010
.net framework 4.0.303019
Win2003 SE SP2

StackTrace

at Telerik.Windows.Controls.RadTileView.ChangePosition(RadTileViewItem item, 
Int32 oldValue, Int32 newValue) in 
c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\RadTileView.cs:line 
398<BR>   at 
Telerik.Windows.Controls.RadTileViewItem.OnPositionChanged(DependencyObject d, 
DependencyPropertyChangedEventArgs e) in 
c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\RadTileViewItem.cs:line 
436<BR>   at 
System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs 
e)<BR>   at 
System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs 
e)<BR>   at 
System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs 
args)<BR>   at 
System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, 
DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, 
EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean 
coerceWithCurrentValue, OperationType operationType)<BR>   at 
System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object 
value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean 
coerceWithCurrentValue, OperationType operationType, Boolean 
isInternal)<BR>   at 
System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object 
value)<BR>   at 

   

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 08 Jun 2011, 01:42 PM
Hi DS,
Could you please give us a sample project or some code snippets that would help us with this issue, because I wasn't able to reproduce it. Also could you please download some newer version of the controls because there are lots of changes to the RadTileView from the Q3 2010 and Q1 2011.
I've attached the sample project that I used for testing so you could examine it and if you have more questions feel free to ask.

Regards,
Zarko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TileView
Asked by
DS
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or