Hello,
I have a very urgent problem with the Q3 grid, because my app crashes when scrolling down. When clicking on the down button the app crashes after clicking approx. 10 times, when I'm using the slider to scroll down it crashes immediately. I don't know if its a problem with the new virtualization functionality of the grid.
When updating from Q3 beta to the Q3 release I didn't change anything in the grid definition because as I understood the new virtualization mode is internal and it's not necessary or even possible to activate or deactive it. I have double checked the grid and all other Telerik assemblies in my project and I'm rather sure they all have the correct version.
I'm using RIA services and a domain data source. You can see the definition below
| <dds:DomainDataSource x:Name="ddsProject" QueryName="GetProject" AutoLoad="True" LoadingData="ddsProject_LoadingData" LoadedData="ddsProject_LoadedData"> |
| <dds:DomainDataSource.DomainContext> |
| <domain:VolvoDomainContext /> |
| </dds:DomainDataSource.DomainContext> |
| <dds:DomainDataSource.FilterDescriptors> |
| <riaData:FilterDescriptorCollection LogicalOperator="And" /> |
| </dds:DomainDataSource.FilterDescriptors> |
| <dds:DomainDataSource.SortDescriptors> |
| <riaData:SortDescriptor PropertyPath="ProjectNo" Direction="Ascending"/> |
| </dds:DomainDataSource.SortDescriptors> |
| </dds:DomainDataSource> |
| <grid:RadGridView x:Name="ProjectList" ItemsSource="{Binding Data, ElementName=ddsProject}" |
| AutoGenerateColumns="False" ShowGroupPanel="True" |
| Height="410" MultipleSelect="True" IsFilteringAllowed="True" |
| > |
The grid is embedded in a simple layout grid which is also embedded in another layout grid.
That means I have two nested layout grids. This constellation was working without any scrolling problems even in the Q3 beta relase.
My problem is as follows and happens at the moment especially at customer side, that's why it's so urgent.
When I'm scrolling down, the application crashes and I have an empty browser window with an "Error on page" hint.
May be it's important to mention that the server at customer site is a test server at the moment and has a rather slow internet connection, so the problem might become more obvious.
Below you can see the error details. May be they can help.
Webpage error details
| Message: Unhandled Error in Silverlight Application |
| Code: 4004 |
| Category: ManagedRuntimeError |
| Message: System.Exception: Beim Aufruf einer COM-Komponente wurde ein HRESULT E_FAIL-Fehler zurückgegeben. |
| bei MS.Internal.XcpImports.CheckHResult(UInt32 hr) |
| bei MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize) |
| bei System.Windows.FrameworkElement.MeasureOverride(Size availableSize) |
| bei System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight) |
| Line: 54 |
| Char: 13 |
| Code: 0 |
What's also astonishing is, that during scrolling the date cells (DatePicker) below the visible first side are empty which is definitely not the case in the database. It seems as they are not loaded and that's why I thought it might be a problem with the virtualization.
At the moment I have no idea what I can check, test or modify to analyse and circumvent this problem.
So please help as soon as possible to solve this issue.
Thanks in advance
Uwe
I have an additional comment to the issue above. It seems that the RadDatePicker controls causes this problem. I've defined a date column like this
| <grid:GridViewDataColumn.CellTemplate> |
| <DataTemplate> |
| <telInput:RadDatePicker SelectedDate="{Binding CreationDate, Mode=TwoWay}" /> |
| </DataTemplate> |
| </grid:GridViewDataColumn.CellTemplate> |
Hope this info helps to reproduce the problem
