Completed
Last Updated: 17 Aug 2018 06:57 by ADMIN
ADMIN
Telerik Admin
Created on: 01 Aug 2018 08:39
Category: GridView
Type: Bug Report
1
FIX. Exception using Excel-like filters with async data refresh
Hi,

We got an issue comparable to the one already described (see 245938), using the same demo project
1) I add LastDeliveryDateTimeLocal column
2) remove groups
3) click on "Start async notifications"
4) click on the filter icon next to "LastDeliveryDateTimeLocal" column name
5) uncheck some values (08/09/2016, 11/11/2016, 03/01/2017)
6) click Ok
=> NullReferenceException
Attached Files:
8 comments
ADMIN
Hristo
Posted on: 14 Aug 2018 12:13
Hello,

Thank you for your input. We will provide a fix for the item in upcoming R3 2018 release. 

Regards,
Hristo
Raphaël MANSUY
Posted on: 02 Aug 2018 10:25
Hi,

If I well understood the issue, the error occurs because the grid has been refreshed while the filter popup was already opened, and ColumnInfo is null (see screenshot attached).
I suspect that when grid is refreshed, the GridHeaderCellElement is rebuilt, and the popup is still refering to the original one, which is pointing on nothing (and its "GridControl" property is also null).

Regards.
Attached Files:
ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 02 Aug 2018 06:07
Hello, Raphaël,    
I have used the references which were also available in the initial project. Would it be possible to isolate the SchemaManagerContext and fill the grid with dummy data? Thus, eliminating the EntityManager, it is not supposed to experience any errors and we can focus on the RadGridView's problem and to further investigate it. Thank you in advance for your cooperation.
Raphaël MANSUY
Posted on: 01 Aug 2018 10:25
Hi,
I don't understand why you have this message, as the context is initialized (see picture attached), and it's exactly the same project that I sent you before. I've just updated Telerik assemblies and added a checkbox for the IsAsyncSearch parameter you just added.

I've also attached here the built project.

Regards.
Attached Files:
ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 01 Aug 2018 10:08
Hello, Raphaël,    

The provided sample project is greatly appreciated. However, after starting it, several errors occur one of which can't be skipped. It is related to initializing the SchemaManagerContext. Please refer to the attached screenshot. Is it possible to populate the grid with dummy data and isolate the context? Thus, we would be able to run the project locally and make an adequate analysis of the precise case. Thank you in advance for the cooperation.

I am looking forward to your reply.
Attached Files:
Raphaël MANSUY
Posted on: 01 Aug 2018 09:14
Please find attached the demo project (I've just removed Telerik assemblies as the size limit is 10 MB)
Attached Files:
Raphaël MANSUY
Posted on: 01 Aug 2018 08:52
Please find attached the reproduction video.
Attached Files:
Raphaël MANSUY
Posted on: 01 Aug 2018 08:43
see Ticket 1142780 for the Demo project.
Please note that the error occurs even with 2018.2.621.40 version of the grid, even with "IsSearchAsync" parameter set to false.