When using an INotifyCollectionChanged (like ObservableCollection<T>), RadGridView's data engine subscribes to the CollectionChanged event of the bound collection.
It seems that the WPF views are recreated when you connect to a running remote desktop session or switch the user to a session where the corresponding WPF app is already opened. This creates new instances of all controls, but no unload or another disposal event happens. In this case, the logic that subscribes to the CollectionChanged event again is triggered for the new RadGridView, but the old one never detaches from the event. This causes a memory leak.
If you connect to the session multiple times, the CollectionChanged handler will be attached multiple times leading to a memory leak.
To work this around, set the ItemsSource of RadGridView to null in the SystemEvents.SessionChanged static event.
private void SystemEvents_SessionSwitch(object sender, SessionSwitchEventArgs e)
{
if (e.Reason == SessionSwitchReason.SessionLock)
{
BindingOperations.ClearAllBindings(this.RadGridViewFixed);
}
}
Hello Telerik Team! Are there any new informations concerning the below BUG? (UniqueName-Property is causing binding errors) Is this fixed in one of the current versions? What are proper workarounds? Identical Problem for Sylverlight: http://www.telerik.com/community/forums/silverlight/gridview/gridviewdatacolumn-data-binding-to-uniquename---why.aspx Regards Daniel (DevCraft Customer)
'Cell is already in the collection' exception is thrown when multiple cells are copied and pasted in a sorted column
Resolved with LIB version 2014.1.0428.
The grips on the scrollbar's thumb is blurred on 120dpi as well as some of the borders. As it turns out, we hit a WPF specific problem with 120 DPI. The issue is similar to the following: http://connect.microsoft.com/VisualStudio/feedback/details/798513/wpf-dpi-rendering-issues-with-two-borders For the time being this issue is not addressed and most probably would not be fixed.
The first character is lost on typing in a column with CellEditTemplate with RadMaskedNumericInput, RadMaskedCurrencyInput, RadMaskedDateTimeInput, RadMaskedTextInput.
This Style is not applied when Windows8 Theme is set for the GridView (only) - it works if an ApplicationTheme is set. <telerik:RadGridView telerik:StyleManager.Theme="Windows8" Name="clubsGrid" .../> <Style TargetType="telerik:GroupHeaderRow" telerik:StyleManager.BasedOn="Windows8"> <Setter Property="ShowGroupHeaderColumnAggregates" Value="True" /> <Setter Property="Background" Value="Red"/> </Style>
There are two different styles for the Validation Message - the Microsoft's and the Telerik's.
Let your data column have a cell style with DataTrigger which sets the Tooltip depending on the value: <telerik:GridViewDataColumn.CellStyle> <Style TargetType="telerik:GridViewCell"> <Style.Triggers> <DataTrigger Binding="{Binding StadiumCapacity}" Value="42055"> <Setter Property="ToolTip" Value="THIS IS TOO SMALL" /> <Setter Property="Background" Value="Red" /> </DataTrigger> </Style.Triggers> </Style> </telerik:GridViewDataColumn.CellStyle> Initially, when the grid loads - the tooltips are set correctly. But if you edit a cell and change its value to 42055 then the background is set to Red (as expected), but the tooltip does not update.
Add a bindable property to RadGridView which would allow the selection to be manipulated in MVVM scenarios.
I have a RadGridView with RadLinearSparkLines as a column showing ~100 trends. I am looking to save all sparklines when I save screenshot. I tried by querying the RadGridView for desired size after a call to Measure(), and pass it to the Arrange(). However, the RadGridView renders within the bounds of its actual size but not the desired size. I also noticed that the desired size is not as tall as the size required to render all rows. Is there any way I can save RadGridView as PNG with all rows rendered in the image? Thanks in advance for any tips!
ValidationErrorHandler does not get invoked when validating in view mode and System.ComponentModel.INotifyDataErrorInfo interface is implemented.
The workaround could be using QueryableCollectionView instead. Still, it does not suggest the exact same functionality as ICollectionView.