ScriptResource.axd error when navigating away from page

Karl

I have a couple of pages on my site that dynamically add RadPanelItems to a RadPanelBar and apply header and content templates to them. I have recently noticed that when I navigate away from these pages when the site is debugging, I get a ScriptResource.asxd?d=LotsOfNumbersAnNdLetters..... error that reads like so...

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

I can only assume this has something to do with the Templates that get applied, but cant work out whats wrong as the pages work exactly as they're meant to and don't produce any server or client side errors until this one. Again, this error ONLY occurs when navigating away from the page, not on postback.

The templates do have event handlers added to controls that are built in the templates and think it might have something to do with these, but when I comment these handlers and methods out, I still get the same error...

It's very puzzling and I have to get it fixed but have run out of ideas.

Nikolay Tsenkov

Could you, please, try to isolate the problem in a single page (as small amount of code as possible) that will continue to reproduce it.
There is a big chance you will be able to resolve the problem on your own during the process, but even if you are not able to you can post the page and we will try to help you out.

Karl

I've taken out huge chunks of code and put all the relevant code required to build the page so it functions as I need into one aspx page with a code behind and I'm still getting the same issue. The page loads exactly as I want it to, but when I navigate away from it, even to a completely different site, such as Google, it generates the ScriptResource error.

How do I go about sending the files to you so someone there can see either what I'm doing wrong, or where the issue lies? I cant attach them here as I'm only allowed to attach gif, jpg, jpeg and png files.

Chandan Dey

Hi,
I am using Telerik.Web.UI.dll (Version - 2010.3.1317.40) and working with RadSplitter, RadSplitBar.
When I resize the RadSplitBar sometime (not everytime) an error occued
Error : Microsoft JScript runtime error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.

Dobromir

We are aware of an bug in RadSplitter which was causing such error in previous versions of the control which is already fixed. Could you try to upgrade to the latest version of RadControls for ASP.NET AJAX (currently Q1 2011 SP2) and see if the problem still occurs?

If upgrading does not fix the issue, could you please provide a sample project reproducing the problem so we can investigate it further?

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.