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

Errors on pop-up

1 Answer 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 31 May 2013, 01:43 PM
In a ASP.NET web application, I've got a page that opens a new window when a user clicks certain hyperlinks.  A normal window.open, not a RadWindow or the like.  The page that's opened doesn't have a master page, but consists of a RadTabStrip and a RadMultiPage control.

     The individual PageViews in the MultiPage control display some RadPanelBars and user controls that contain a variety of inputs, mostly text boxes and comboboxes.  When the page loads, I get the following errors and the combo boxes do not function

  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
    1. Error$invalidOperationScriptResource.axd:372
    2. Type$registerEnumScriptResource.axd:2315
    3. (anonymous function)ScriptResource.axd:743
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.TouchScrollExtender has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
    1. Error$invalidOperationScriptResource.axd:372
    2. Type$registerClassScriptResource.axd:1717
    3. (anonymous function)ScriptResource.axd:168
    4. (anonymous function)ScriptResource.axd:169
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.NavigationControlODataSettings has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
    1. Error$invalidOperationScriptResource.axd:372
    2. Type$registerClassScriptResource.axd:1717
    3. (anonymous function)ScriptResource.axd:15
    4. (anonymous function)ScriptResource.axd:78
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.AttributeCollection has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
    1. Error$invalidOperationScriptResource.axd:372
    2. Type$registerClassScriptResource.axd:1717
    3. (anonymous function)ScriptResource.axd:21
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.RadComboBoxItem has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
    1. Error$invalidOperationScriptResource.axd:372
    2. Type$registerClassScriptResource.axd:1717
    3. (anonymous function)ScriptResource.axd:220
    4. (anonymous function)




There is an ASP ScriptManager on the page.  If I change this to a RadScriptManager, my error becomes:

  1. Uncaught TypeError: Object [object Object] has no method '_setChildrenHeight' Telerik.Web.UI.WebResource.axd:4015
    1. Telerik.Web.UI.RadPanelItem._windowLoadHandlerTelerik.Web.UI.WebResource.axd:4015
    2. Telerik.Web.UI.RadPanelItem._windowLoadHandlerSavingStateTelerik.Web.UI.WebResource.axd:4011
    3. Sys._Application.raiseLoadTelerik.Web.UI.WebResource.axd:6
    4. Sys._Application._doInitializeTelerik.Web.UI.WebResource.axd:6



I've re-created the page from scratch, taking out as much complexity as I can, but still run into these issues.  I must be missing something that I cannot find. 


  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.TouchScrollExtender has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.NavigationControlODataSettings has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.AttributeCollection has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.RadComboBoxItem has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.


EDIT:  I'm running version 2012.1.215.35

1 Answer, 1 is accepted

Sort by
0
msigman
Top achievements
Rank 2
answered on 03 Jun 2013, 09:14 PM
Hi Thomas,

I just want to confirm that you have the RadScriptManager on the popup page, and not inside a tab (PageView) or another container.  It definitely seems as though there are multiple ScriptManagers on the page somehow.
Tags
General Discussions
Asked by
Thomas
Top achievements
Rank 1
Answers by
msigman
Top achievements
Rank 2
Share this question
or