Completed
Last Updated: 14 Oct 2019 13:23 by ADMIN
Release R3 2019 SP1
Background and Foreground properties of HeaderCellDecorationsNeeded event args are not respected
Completed
Last Updated: 11 Oct 2019 10:07 by ADMIN
Release LIB 2019.3.1007

I believe this is caused a bug in Telerik.Windows.Controls.VirtualGrid.Selection.CellSelectionHandler.ToggleSingleSelect() method:

    internal void ToggleSingleSelect()
    {
      if (this.owner.SelectionUnit != VirtualGridSelectionUnit.Cell && this.SelectedCells.Count <= 1)
        return;
      this.BeginSelection();
      VirtualGridCellInfo selectedCell = this.SelectedCells[0];
      this.DeselectAll();
      this.Select(selectedCell);
      this.EndSelection();
    }

If SelectionUnit = Cell but no cells are selected, the code still attempts to retrieve the first selected cell what causes an exception. 

 

Stack trace:

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.

Parameter name: index
   at Telerik.Windows.Controls.VirtualGrid.CellInfoCollection.get_Item(Int32 index)
   at Telerik.Windows.Controls.VirtualGrid.Selection.CellSelectionHandler.ToggleSingleSelect()
   at Telerik.Windows.Controls.RadVirtualGrid.OnSelectionModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
   at System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList`1& exclusionContainerDependents, FrugalStructList`1& oldContainerDependents, FrugalStructList`1& newContainerDependents)
   at System.Windows.StyleHelper.DoStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle)
   at System.Windows.StyleHelper.UpdateStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle, Style& styleCache)
   at System.Windows.FrameworkElement.OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
   at System.Windows.FrameworkElement.UpdateStyleProperty()
   at System.Windows.TreeWalkHelper.InvalidateOnTreeChange(FrameworkElement fe, FrameworkContentElement fce, DependencyObject parent, Boolean isAddOperation)
   at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)
   at System.Windows.FrameworkElement.RemoveLogicalChild(Object child)
   at System.Windows.Controls.ContentControl.OnContentChanged(Object oldContent, Object newContent)
   at System.Windows.Controls.ContentControl.OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
   at System.Windows.StyleHelper.ClearTemplateChain(HybridDictionary[] instanceData, FrameworkElement feContainer, FrameworkContentElement fceContainer, List`1 templateChain, FrameworkTemplate oldFrameworkTemplate)
   at System.Windows.StyleHelper.ClearGeneratedSubTree(HybridDictionary[] instanceData, FrameworkElement feContainer, FrameworkContentElement fceContainer, FrameworkTemplate oldFrameworkTemplate)
   at System.Windows.StyleHelper.DoTemplateInvalidations(FrameworkElement feContainer, FrameworkTemplate oldFrameworkTemplate)
   at System.Windows.StyleHelper.UpdateTemplateCache(FrameworkElement fe, FrameworkTemplate oldTemplate, FrameworkTemplate newTemplate, DependencyProperty templateProperty)
   at System.Windows.Controls.ContentPresenter.OnTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.Controls.ContentPresenter.EnsureTemplate()
   at System.Windows.Controls.ContentPresenter.OnPreApplyTemplate()
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Completed
Last Updated: 10 Oct 2019 18:57 by ADMIN
Release LIB 2019.3.1007
Setting the SizeUnit to Star in the HeaderSizeNeeded leads to shrinking the columns when the window resize
Completed
Last Updated: 10 Oct 2019 18:45 by ADMIN
Release LIB 2019.3.1007
Completed
Last Updated: 02 Jan 2019 11:42 by ADMIN
Scheduled for:
The fix for this issue will be available with LIB (version 2018.3.1302) scheduled for publishing on Wednesday, 2nd January 2019.
Completed
Last Updated: 02 Jan 2019 11:39 by ADMIN
Scheduled for:
The fix for this issue will be available with LIB (version 2018.3.1302) scheduled for publishing on Wednesday, 2nd January 2019.
Completed
Last Updated: 25 Sep 2018 12:15 by ADMIN
If you create a custom editor in the EditorNeeded event or method override, and don't set the editor's value, an exception is thrown.

Reproducible only with DataProvider.

To work this around set the custom editor's initial value to a value different than null. Or you can use the events instead of DataProvider.
Completed
Last Updated: 21 Jun 2018 14:49 by ADMIN
UPDATE: The issue occurs in both cases - when populating with data manually and through DataProvider. We will be able to provide a fix for the DataProvider case, as well as the manual popupating if you use TextBox for editor. 
If populating manually and you need to use a different editor such as DateTimePicker for example, you will need to handle its background on creation. 
Completed
Last Updated: 07 Jun 2018 06:40 by ADMIN
ADMIN
Created by: Stefan
Comments: 1
Category: VirtualGrid
Type: Bug Report
1

			
Completed
Last Updated: 08 Nov 2017 13:48 by ADMIN
Available in LIB version 2017.3.1113, it will be also available in the R1 2018 Release.
1 2