Hi Telerik,
We've got unhandled exception in yours sources.
After applying filters for GridView which filter all existed items (with using ObservableCollection) we get such stack trace list:
01.System.Transactions Critical: 0 :02.<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical">03. <TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled<;/TraceIdentifier>04. <Description>Unhandled exception</Description>05. <AppDomain>TimeTracking.Client.vshost.exe</AppDomain>06. <Exception>07. <ExceptionType>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>08. <Message>Source type must be an enumerable type.</Message>09. <StackTrace> at Telerik.Windows.Data.Expressions.EnumerableFilterOperatorExpressionBuilder.GenerateContainsMethodCall(Expression source, Expression value, Boolean shouldNegate)10. at Telerik.Windows.Data.Expressions.OperatorValueFilterDescriptorExpressionBuilderBase.CreateBodyExpression()11. at Telerik.Windows.Data.Expressions.FilterDescriptorCollectionExpressionBuilder.CreateBodyExpression()12. at Telerik.Windows.Data.Expressions.FilterDescriptorCollectionExpressionBuilder.CreateBodyExpression()13. at Telerik.Windows.Data.Expressions.FilterDescriptorCollectionExpressionBuilder.CreateBodyExpression()14. at Telerik.Windows.Data.Expressions.FilterExpressionBuilder.CreateFilterExpression()15. at Telerik.Windows.Data.QueryableExtensions.Where(IQueryable source, CompositeFilterDescriptorCollection filterDescriptors)16. at Telerik.Windows.Data.QueryableCollectionView.CreateView()17. at Telerik.Windows.Data.QueryableCollectionView.CreateInternalList()18. at Telerik.Windows.Data.QueryableCollectionView.get_InternalList()19. at Telerik.Windows.Data.QueryableCollectionView.get_InternalCount()20. at Telerik.Windows.Data.QueryableCollectionView.get_IsEmpty()21. at Telerik.Windows.Data.QueryableCollectionView.InitializeCurrencyOnRefresh(CurrencyRefreshInfo currencyRefreshInfo)22. at Telerik.Windows.Data.QueryableCollectionView.RefreshOrDefer()23. at Telerik.Windows.Data.QueryableCollectionView.InvalidatePagingAndRefresh()24. at Telerik.Windows.Data.QueryableCollectionView.OnFilterDescriptorsChanged()25. at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)26. at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)27. at Telerik.Windows.Data.ObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)28. at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)29. at System.Collections.ObjectModel.Collection`1.System.Collections.IList.Add(Object value)30. at Telerik.Windows.Data.CollectionHelper.Equalize(IList left, IList right, IEqualityComparer comparer)31. at Telerik.Windows.Data.DataItemCollection.EqualizeFilterDescriptors()32. at Telerik.Windows.Data.DataItemCollection.EqualizeDescriptors()33. at Telerik.Windows.Data.DataItemCollection.set_CollectionView(QueryableCollectionView value)34. at Telerik.Windows.Data.DataItemCollection.CreateAndSetCollectionView(IEnumerable source, Type type)35. at Telerik.Windows.Data.DataItemCollection.SetItemsSource(IEnumerable source, Type type)36. at Telerik.Windows.Controls.GridView.GridViewDataControl.<>c__DisplayClass20.<Bind>b__1f()37. at Telerik.Windows.Controls.CursorManager.PerformTimeConsumingOperation(FrameworkElement frameworkElement, Action action)38. at Telerik.Windows.Controls.GridView.GridViewDataControl.OnApplyTemplate()39. at System.Windows.FrameworkElement.ApplyTemplate()40. at System.Windows.FrameworkElement.MeasureCore(Size availableSize)41. at System.Windows.UIElement.Measure(Size availableSize)42. at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)43. at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)44. at System.Windows.Controls.Grid.MeasureOverride(Size constraint)45. at System.Windows.FrameworkElement.MeasureCore(Size availableSize)46. at System.Windows.UIElement.Measure(Size availableSize)47. at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)48. at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)49. at System.Windows.FrameworkElement.MeasureCore(Size availableSize)50. at System.Windows.UIElement.Measure(Size availableSize)51. at System.Windows.ContextLayoutManager.UpdateLayout()52. at System.Windows.Controls.TabItem.OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e)53. at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)54. at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)55. at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)56. at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)57. at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)58. at System.Windows.Input.InputManager.ProcessStagingArea()59. at System.Windows.Input.KeyboardDevice.TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)60. at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)61. at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)62. at System.Windows.UIElement.Focus()63. at System.Windows.Controls.TabItem.SetFocus()64. at System.Windows.Controls.TabItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)65. at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)66. at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)67. at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)68. at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)69. at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)70. at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)71. at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)72. at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)73. at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)74. at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)75. at System.Windows.Input.InputManager.ProcessStagingArea()76. at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)77. at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)78. at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)79. at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)80. at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)81. at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)82. at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)83. at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)84. at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)85. at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr...Please, suggest a direction or a clue based on the stack trace which can lead me to the problem or it's solution?
Thank you!
Hello,
It seems that there is an issue when projects are under TFS source control. When saving the solution or after committing changes, visual studio hangs 5 to 10 minutes. I don't have this issue when telerik extensions are not installed.
When I analyze the devenv.exe execution, I see the call to Telerik.VSX.SolutionManagement.TfsSolutionStorage.CommintAllFiles is called. What is the role of this method?
Regards.
Hello,
I have a I think very simple question but I cant find any solution for it. Its about binding other properties, besides the DataMemberBinding to the current item.
The scenario is as follows, I have a data object which is setup as follows:
public class EmployeeViewModel{ public Employee EmployeeData { get; set; } public EmployeeViewState ViewState { get; set; }}public class Employee{ public string Name { get; }}public class EmployeeViewState{ public bool ColumnNameReadOnly = true; }
In my main viewmodel I have the following:
public class ViewModel{ public ObservableCollection<EmployeeViewModel> Employees { get; set; }}
Now I want to bind my view to this collection, I have the following XAML:
<telerik:RadGridView x:Name="grid" MinHeight="400" DataContext="{Binding}" ItemsSource="{Binding Employees}"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Name:" DataMemberBinding="{Binding Path=EmployeeData.Name}" Width="215" IsReadOnly="{Binding Path=ViewState.ColumnNameReadOnly}"/> </telerik:RadGridView.Columns></telerik:RadGridView>
The Name property of the EmployeeData object is correctly bind to the current item of the row, but the IsReadOnly property binding is looking for a ViewState object in my main viewmodel!
How can I set the datacontext for this property the same as with the DataMemberBinding?
Regards,
Marcel
Hello,
I having problem with RadDiagramTextShape font size when it is editing. I need to RadDiagramTextShape font size in edit mode is equal to font size in normal state. I don't see any relationship between the font size in normal mode and edit mode (see attach file). I think currently font size is fixed value in edit mode.
How I can binding/set size font in edit mode to equal in normal mode?
Thanks you
Adam

Hi,
i have a sample code:
var document = new RadDocument(); RadDocumentEditor editor = new RadDocumentEditor(document); editor.Document.LayoutMode = DocumentLayoutMode.Paged; editor.Document.CaretPosition.MoveToFirstPositionInDocument(); for (int i = 0; i < 15000; i++) { stopwatch.Start(); editor.InsertLine("TEST"); stopwatch.Stop(); System.Diagnostics.Debug.WriteLine(stopwatch.Elapsed); stopwatch.Reset(); }
Why each of InsertLine call takes more time than previous?
When RadDocument contains more text it takes more time to insert? This document is not used or binded anywhere.
Thanks.

<Rectangle x:Name="HorizontalLine" Stroke="{StaticResource LineBrush}" Height="1" HorizontalAlignment="Right" VerticalAlignment="Center"> <Rectangle.Clip> <RectangleGeometry Rect="0,0,10000,1"/> </Rectangle.Clip> </Rectangle> <Rectangle x:Name="VerticalLine" Stroke="{StaticResource LineBrush}" HorizontalAlignment="Center" VerticalAlignment="Top" Width="1"> <Rectangle.Clip> <RectangleGeometry Rect="0,0,1,10000"/> </Rectangle.Clip> </Rectangle>
The EditorAttribute of the PropertyGrid currently requires the control type to be available for the class defining the attribute. In the original .NET Property Grid, the EditorAttribute supported a constructor with a string which allowed the type to be resolved at runtime rather than compile time. The TypeConverter attribute also has this type name signature available. This is particularly useful when architecting a solution where the model libraries shouldn't reference the views.
The functionality could be added with a simple constructor signature like this:
public EditorAttribute(string editorTypeName)
this(Type.GetType(editorTypeName)
{
}