Hello!
I have a RadGridView, styled using a theme and using RowStyleSelector and AlternateRowStyleSelector for coloring custom rows.
This all work, but when have a bunch of rows custom colored and then when I scroll up, the browser crash with the following stacktrace:
SCRIPT5022: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.
vid MS.Internal.XcpImports.CheckHResult(UInt32 hr)
vid MS.Internal.XcpImports.ClearValue(IManagedPeerBase doh, DependencyProperty property)
vid System.Windows.DependencyObject.ClearValueInternal(DependencyProperty dp)
vid System.Windows.DependencyObject.ClearValue(DependencyProperty dp)
vid Telerik.Windows.Controls.GridView.GridViewRow.ClearRowStyle(GridViewDataControl owningDataGrid)
vid Telerik.Windows.Controls.GridView.GridViewRow.ClearRow(GridViewDataControl owningDataGrid)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.ClearContainerForItemOverride(DependencyObject element, Object item)
vid Telerik.Windows.Controls.GridView.BaseItemsControl.Telerik.Windows.Controls.GridView.IGeneratorHost.ClearContainerForItem(DependencyObject container, Object item)
The problem is, when I remove AlternateRowStyleSelector, no crash, but the coloring doesnt work.
Do you have any ideas for a solution? I'm using a quite old version of the binaries (2014.1.0526.1050).
Best regards,
Patrik Edberg