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

[Solved] ComBox SelectedItem set to null on scroll

3 Answers 185 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Deepak N
Top achievements
Rank 1
Deepak N asked on 19 Oct 2009, 04:29 PM
Hi,

I'm using combobox as celltemplate in radgridview [Please note that I cannot use RadCobBoxColumn since every row can have different type of control]. The problem is when the grid is scrolled {combobox wrow will not be visible and scrolling back causes} ,the Selected Item of ComboBox is Set to null. The call stack of shows following details which shows that issue may be caused by ItemsGenerator when comobox is made visble agian.

Some details are removed to make it simple

&gt;&nbsp;&nbsp; &nbsp;Converters.NullCheckConverter.ConvertBack(object value = null, System.Type targetType = {System.Object}, object parameter = null, System.Globalization.CultureInfo culture = {en-US}) Line 16&nbsp;&nbsp; &nbsp;C#<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Data.BindingExpression.UpdateValue() + 0xd6 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Data.BindingExpression.UpdateValueIfNecessary() + 0x32 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Data.BindingExpression.TargetPropertyChanged(System.Windows.DependencyObject sender, System.Windows.DependencyProperty dp = {System.Windows.CustomDependencyProperty}) + 0x2d bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyProperty dp = {System.Windows.CustomDependencyProperty}) + 0x34 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyProperty dp) + 0x6f bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Controls.Primitives.Selector.OnPropertyChanged(System.Windows.DependencyProperty dp = {System.Windows.CustomDependencyProperty}) + 0x20 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp = {System.Windows.CustomDependencyProperty}, object value = nullbool allowReadOnlySet = falsebool isSetByStyle = falsebool isSetByBuiltInStyle = false, System.Windows.PropertyInvalidationReason reason = SetValue) + 0x506 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value) + 0x23 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0x1b bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Controls.Primitives.Selector.SelectedItem.set(object value) + 0x37 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Controls.Primitives.Selector.UpdatePublicSelectionProperties(int oldSelectedIndex = 1, int newSelectedIndex = -1, object oldSelectedItem = &lt;OLD ITEM&gt;, object newSelectedItem = null) + 0x3e bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Controls.Primitives.Selector.SelectionChanger.End() + 0x16e bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Controls.Primitives.Selector.OnItemsChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e = {System.Collections.Specialized.NotifyCollectionChangedEventArgs}) + 0x821 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Controls.ItemsControl.OnItemCollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) + 0x78 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Controls.ItemCollection.NotifyCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e = {System.Collections.Specialized.NotifyCollectionChangedEventArgs}) + 0x43 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Controls.ItemCollection.UpdateItemsSourceList(System.Collections.IEnumerable newItemsSource) + 0x8c bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Controls.ItemsControl.ItemsSourceChanged(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0xa5 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.DependencyObject.RefreshExpression(System.Windows.DependencyProperty dp = {System.Windows.CustomDependencyProperty}) + 0x173 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Data.BindingExpression.RefreshExpression() + 0x1b bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Data.BindingExpression.SendDataToTarget() + 0x58 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Data.BindingExpression.SourceAquired() + 0x35 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.Data.BindingExpression.DataContextChanged(object o, System.Windows.DataContextChangedEventArgs e) + 0x46 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.FrameworkElement.OnDataContextChanged(System.Windows.DataContextChangedEventArgs e = {System.Windows.DataContextChangedEventArgs}) + 0x34 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.FrameworkElement.OnAncestorDataContextChanged(System.Windows.DataContextChangedEventArgs e = {System.Windows.DataContextChangedEventArgs}) + 0x2b bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.FrameworkElement.NotifyDataContextChanged(System.Windows.DataContextChangedEventArgs e = {System.Windows.DataContextChangedEventArgs}) + 0x86 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyProperty dp = {System.Windows.CoreDependencyProperty}) + 0x63 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp = {System.Windows.CoreDependencyProperty}, object newValue = nullobject oldValue = &lt;THE OLD VALUE&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp = {System.Windows.CoreDependencyProperty}, object value = nullbool allowReadOnlySet = falsebool isSetByStyle = falsebool isSetByBuiltInStyle = false, System.Windows.PropertyInvalidationReason reason = SetValue) + 0x7cc bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value) + 0x23 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0x1b bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.FrameworkElement.DataContext.set(object value) + 0x37 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.BaseItemsControl.RecycleContainer(System.Windows.FrameworkElement container = {Telerik.Windows.Controls.GridView.GridViewRow}) + 0x26 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.ItemsGenerator.ReleaseUnusedContainers() + 0x83 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.BaseVirtualizingPanel.MeasureOverride(System.Windows.Size availableSize = {Infinity,Infinity}) + 0x501 bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget = 270918624, float inWidth = Infinity, float inHeight = Infinity, out float outWidth = 0.0, out float outHeight = 0.0) + 0xdd bytes&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;[Appdomain Transition]&nbsp;&nbsp; &nbsp;<br><br> 


Is there a way to get around this problem?

Regards,
Deepak N

3 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 20 Oct 2009, 08:51 AM
Hi Deepak N,

Could you try your scenario with the current Q3 beta 2 release?
Let us know if the problem is still there and if possible send us sample project demonstrating it.

Greetings,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Alex Silva
Top achievements
Rank 1
answered on 22 Dec 2010, 11:36 PM
I am currently using a RadGridView in a ControlTemplate behaving the same way. When I use the ScrollViewer and scroll, radio button "IsChecked" property is being set to false. I have a TwoWay binding to this property.
Here is a copy of my call stack.

> RAMWare.BusinessObjects.Silverlight!RAMWare.BusinessObjects.QandA.AnswerOption.set_IsSelected(Boolean value = False) Line 1304 Basic
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  System.Windows.dll!System.Windows.CLRPropertyListener.Value.set(object value) 
  System.Windows.dll!System.Windows.PropertyAccessPathStep.Value.set(object value) 
  System.Windows.dll!System.Windows.Data.BindingExpression.UpdateValue() 
  System.Windows.dll!System.Windows.Data.BindingExpression.UpdateValueIfNecessary() 
  System.Windows.dll!System.Windows.Data.BindingExpression.TargetPropertyChanged(System.Windows.DependencyObject sender, System.Windows.DependencyProperty dp) 
  System.Windows.dll!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyProperty dp) 
  System.Windows.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyProperty dp) 
  System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) 
  System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) 
  System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) 
  System.Windows.dll!System.Windows.Controls.RadioButton.UpdateRadioButtonGroup() 
  System.Windows.dll!System.Windows.Controls.RadioButton.OnChecked(System.Windows.RoutedEventArgs e = {System.Windows.RoutedEventArgs}) 
  System.Windows.dll!System.Windows.Controls.Primitives.ToggleButton.OnIsCheckedPropertyChanged(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) 
  System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp = {System.Windows.CustomDependencyProperty}, object oldValue, object newValue) 
  System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) 
  System.Windows.dll!System.Windows.DependencyObject.RefreshExpression(System.Windows.DependencyProperty dp) 
  System.Windows.dll!System.Windows.Data.BindingExpression.SendDataToTarget() 
  System.Windows.dll!System.Windows.Data.BindingExpression.SourceAcquired() 
  System.Windows.dll!System.Windows.Data.BindingExpression.System.Windows.IDataContextChangedListener.OnDataContextChanged(object sender, System.Windows.DataContextChangedEventArgs e) 
  System.Windows.dll!System.Windows.Data.BindingExpression.DataContextChanged(object sender, System.Windows.DataContextChangedEventArgs e) 
  System.Windows.dll!System.Windows.FrameworkElement.OnDataContextChanged(System.Windows.DataContextChangedEventArgs e) 
  System.Windows.dll!System.Windows.FrameworkElement.OnTreeParentUpdated(System.Windows.DependencyObject newParent, bool bIsNewParentAlive) 
  System.Windows.dll!System.Windows.DependencyObject.UpdateTreeParent(MS.Internal.IManagedPeer oldParent = null, MS.Internal.IManagedPeer newParent = {System.Windows.Controls.ContentPresenter}, bool bIsNewParentAlive, bool keepReferenceToParent = true) 
  System.Windows.dll!MS.Internal.FrameworkCallbacks.ManagedPeerTreeUpdate(System.IntPtr oldParentElement, System.IntPtr parentElement, System.IntPtr childElement, byte bIsParentAlive, byte bKeepReferenceToParent, byte bCanCreateParent) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {System.Windows.Controls.ListBoxItem}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.UIElement_Measure(System.Windows.UIElement element = {System.Windows.Controls.ListBoxItem}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.UIElement.Measure(System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.Controls.VirtualizingStackPanel.MeasureOverride(System.Windows.Size constraint) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {System.Windows.Controls.ScrollContentPresenter}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.Controls.ScrollContentPresenter.MeasureOverride(System.Windows.Size constraint) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.UIElement_Measure(System.Windows.UIElement element = {System.Windows.Controls.Border}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.UIElement.Measure(System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.Controls.ScrollViewer.MeasureOverride(System.Windows.Size constraint) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {System.Windows.Controls.ListBox}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {RAMWare.Controls.QandA.MultipleChoiceAnswerControl}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {RAMWare.Controls.QandA.AnswerContainerControl}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {Telerik.Windows.Controls.GridView.GridViewCell}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.UIElement_Measure(System.Windows.UIElement element = {Telerik.Windows.Controls.GridView.GridViewCell}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.UIElement.Measure(System.Windows.Size availableSize) 
  Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureChild(System.Windows.UIElement child = {Telerik.Windows.Controls.GridView.GridViewCell}, System.Windows.Size constraint = {System.Windows.Size}) 
  Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewCellsPanel.GenerateChild(System.Windows.Controls.Primitives.IItemContainerGenerator generator = {System.Windows.Controls.ItemContainerGenerator}, System.Windows.Size constraint = {System.Windows.Size}, Telerik.Windows.Controls.GridViewColumn column = {RAMWare.Controls.QandA.GridQuestionGridViewColumn}, ref int childIndex = 2, out System.Windows.Size childSize = {System.Windows.Size}) 
  Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewCellsPanel.GenerateChildren(System.Windows.Controls.Primitives.IItemContainerGenerator generator = {System.Windows.Controls.ItemContainerGenerator}, int startIndex = 0, int endIndex = 1, System.Windows.Size constraint = {System.Windows.Size}) 
  Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewCellsPanel.GenerateAndMeasureChildrenForRealizedColumns(System.Windows.Size constraint = {System.Windows.Size}) 
  Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(System.Windows.Size constraint = {System.Windows.Size}) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {Telerik.Windows.Controls.GridView.GridViewRow}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size availableSize) 
  Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewRowItem.MeasureOverride(System.Windows.Size constraint = {System.Windows.Size}) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.UIElement_Measure(System.Windows.UIElement element = {Telerik.Windows.Controls.GridView.GridViewRow}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.UIElement.Measure(System.Windows.Size availableSize) 
  Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MeasureOverride(System.Windows.Size constraint = {System.Windows.Size}) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {Telerik.Windows.Controls.GridView.ScrollContentPresenter}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size availableSize) 
  Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.ScrollContentPresenter.MeasureOverride(System.Windows.Size constraint = {System.Windows.Size}) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.UIElement_Measure(System.Windows.UIElement element = {System.Windows.Controls.Grid}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.UIElement.Measure(System.Windows.Size availableSize) 
  Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewScrollViewer.MeasureOverride(System.Windows.Size availableSize = {System.Windows.Size}) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {Telerik.Windows.Controls.RadGridView}, System.Windows.Size availableSize) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size availableSize) 
  Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewDataControl.MeasureOverride(System.Windows.Size constraint = {System.Windows.Size}) 
  System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget, float inWidth, float inHeight, out float outWidth = 0.0, out float outHeight = 0.0) 
  [Managed to Native Transition] 
  System.Windows.dll!MS.Internal.XcpImports.MethodEx(System.IntPtr ptr, string name = "UpdateLayout", MS.Internal.CValue[] cvData) 
  System.Windows.dll!MS.Internal.XcpImports.MethodEx(System.Windows.DependencyObject obj = {RAMWare.Application.dlg_CallReport}, string name) 
  System.Windows.dll!System.Windows.UIElement.UpdateLayout() 
  Telerik.Windows.Controls.Navigation!Telerik.Windows.Controls.DragInfo.SetWindowSizeAndLocation(Telerik.Windows.Controls.RadWindow window = {RAMWare.Application.dlg_CallReport}, System.Windows.Rect rectangle = {System.Windows.Rect}) 
  Telerik.Windows.Controls.Navigation!Telerik.Windows.Controls.DragInfo.DoDrag(double horizontalChange = -4.1666017280658707, double verticalChange = 63.333291090857529, Telerik.Windows.Controls.RadWindow window = {RAMWare.Application.dlg_CallReport}) 
  Telerik.Windows.Controls.Navigation!Telerik.Windows.Controls.RadWindow.DoDrag(double horizontalChange = -3.47216796875, double verticalChange = 52.777740478515625) 
  Telerik.Windows.Controls.Navigation!Telerik.Windows.Controls.RadWindow.OnThumbDragDelta(object sender = {System.Windows.Controls.Primitives.Thumb}, System.Windows.Controls.Primitives.DragDeltaEventArgs e = {System.Windows.Controls.Primitives.DragDeltaEventArgs}) 
  System.Windows.dll!System.Windows.Controls.Primitives.Thumb.OnMouseMove(System.Windows.Input.MouseEventArgs e) 
  System.Windows.dll!System.Windows.Controls.Control.OnMouseMove(System.Windows.Controls.Control ctrl, System.EventArgs e) 
  System.Windows.dll!MS.Internal.JoltHelper.FireEvent(System.IntPtr unmanagedObj, System.IntPtr unmanagedObjArgs, int argsTypeIndex, int actualArgsTypeIndex, string eventName) 
  [Appdomain Transition] 
0
Vlad
Telerik team
answered on 23 Dec 2010, 07:39 AM
Hello,

 Since this is an old thread we will appreciate if you post more info about the grid version and your scenario. 

Regards,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
Deepak N
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Alex Silva
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or