Errors on pop-up

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    3 posts
    Member since:
    Nov 2011

    Posted 31 May 2013 Link to this post

    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
  2. msigman
    msigman avatar
    141 posts
    Member since:
    Apr 2008

    Posted 03 Jun 2013 Link to this post

    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.
Back to Top