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

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

3 Answers 247 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
terrysmith
Top achievements
Rank 1
terrysmith asked on 04 Apr 2008, 04:24 PM
I originally reported this in a forum thread in the RadGrid category because the error message was the same. That thread seems to be dead though, and we are still having the problem.

The following exception is being thrown by the RadSplitter:

Microsoft JScript runtime error: Sys.InvalidOperationException:
Handler was not added through the Sys.UI.DomEvent.addHandler method.

by this:

var $removeHandler = Sys.UI.DomEvent.removeHandler = function Sys$UI$DomEvent$removeHandler(element, eventName, handler) {

where the element is:

RAD_SPLITTER_BAR_COLLAPSE_Forward_ctl00_ieContentPlaceHolder_ieSplitBar

on the Prometheus RadSplitter. It's trying to remove events that don't exist on the element. From the Immediate window:

?(typeof(element._events) !== 'object')
false

I have the RadSplitter on a web page displayed in a RadWindow popup. The exception is not thrown when launching the popup the first time. However, on the second and each subsequent time the popup is opened this gets thrown. It also gets thrown when I leave that parent page and browse to another page.

Any help would be greatly appreciated.

Thank you,
Terry



3 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 07 Apr 2008, 05:13 PM
Hello terrysmith,
Indeed, this was a bug in the RadSplitBar, but we have already fixed it. Therefore, please download the latest version of the Prometheus suite, namely version 2008.1.325.20, and test your page. In case the problem persists, please prepare and send us a simple running project, demonstrating the problem.

Greetings,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
terrysmith
Top achievements
Rank 1
answered on 07 Apr 2008, 09:05 PM
Thank you!

Has that release shipped yet? The latest I see available for download is 2007.3.1425. Do I need to request a hot fix in order to get 2008.1.325.20?

Thanks,
Terry
0
Georgi Tunev
Telerik team
answered on 08 Apr 2008, 08:19 AM
Hi Terry,

Tsvetie is referring to the Futures release - it is available in your Client.net account as well (My Free Trials / RadControls Prometheus / Downloads).




Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Splitter
Asked by
terrysmith
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
terrysmith
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or