Last Updated: 02 Jan 2020 16:18 by ADMIN
Created on: 06 Nov 2019 17:04
Category: Grid
Type: Bug Report
cannot set property 'control' of undefined when reordering columns in RadGrid

If AJAX is enabled for the RadGrid and re-ordering its columns, a JavaScript exception is thrown: "uncaught typeerror: cannot set property 'control' of undefined"

1 comment
Attila Antal
Posted on: 06 Nov 2019 17:10

Thank you for taking your time reporting this issue!

We've done some research on this problem, and we found that the problem appears if using RadAjaxManager or RadAjaxPanel to enable AJAX for the Grid and there is a column hidden using the Visible property.

For this case, we suggest one of the following workarounds:

  • Option 1: When hiding columns, remove the Visible property and use the Display property instead.
  • Option 2: Remove the Grid from the RadAjaxManager's AjaxSettings or if its located inside a RadAjaxPanel, move it inside an UpdatePanel.