This is a migrated thread and some comments may be shown as answers.

GridScrolling: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method

1 Answer 22 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Russell
Top achievements
Rank 1
Russell asked on 28 Aug 2008, 05:20 PM
IE 6 SP2
Telerik.Web.UI version: 2008.2.723.20
(Runtime Version: v2.0.50727)

This bug is identical to:
http://www.telerik.com/community/forums/thread/b311D-bdakdk.aspx

except that it applies to the RadGrid (Telerik.Web.UI.GridScrolling), not the RadSplitter.

When an iframe containing a grid is closed immediately after the iframe contents are loaded (but before the DOM is ready?), a race condition can occur where a javascript error is thrown:

Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method

The error is thrown from Telerik.Web.UI.GridScrolling.dispose() when:
 $removeHandler(window,"resize",this._onResizeDelegate)
is called before the setTimeout in Telerik.Web.UI.GridScrolling._initializeDimensions() can fire.

Thanks & HTH,
Russell

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 02 Sep 2008, 06:36 AM
Hello Russell,

Thank you for reporting us this issue however we will need more time to investigate the problem.

Once we are ready we will get back with more info.

Regards,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Russell
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or