Disabling Embedded Resources

2 posts, 0 answers
  1. Dasha
    Dasha avatar
    81 posts
    Member since:
    Aug 2010

    Posted 12 Dec 2019 Link to this post

    Hello!

    I'm in the process of upgrading our product from version 2013.1.403.35 to the latest version. I understand that in the 2014 Q1 release, there has been some restructuring done to the scripts and the skins. While I've figured out how to handle the deprecated skins, I'm running into script errors when rendering to the page. We're making use of the "EnableEmbeddedScripts = false" to ensure faster rendering via script proxies. Can you please provide the exact list of files needed along with the proper order that needs to be observed? I'm following this KB article, but I'm still unable to get my component working. The component consists of:
    RadAjaxPanel
    RadAjaxLoadingPanel
    RadToolBar
    RadTextBox
    RadGrid
    RadContextMenu
    RadWindowManager
    RadWindow

    Thank you very much for you attention! I hope my error is something simple.

  2. Peter Milchev
    Admin
    Peter Milchev avatar
    636 posts

    Posted 17 Dec 2019 Link to this post

    Hello Dasha,

    One easy way I managed to find all the required files for the said controls is to disable the scripts combine and enable the Telerik CDN. Then, the server-side code would render all the scripts that are needed from the control. I have inspected the source of the page and managed to collect the scripts loaded for the listed controls.

    <script src="<CdnUrlHere...>/Common/Core.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/jQuery.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/jQueryInclude.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Ajax/Ajax.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/Navigation/OverlayScript.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/jQueryPlugins.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/AnimationFramework/AnimationFramework.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/Navigation/NavigationScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/MaterialRipple/MaterialRippleScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/ToolBar/RadToolBarScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/ToolBar/Views/LiteView.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Input/TextBox/RadInputScript.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/Scrolling/ScrollingScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/Navigation/OData/OData.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Menu/RadMenuScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Menu/ContextMenu/RadContextMenuScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Menu/MenuItem/RadMenuItem.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Menu/Views/LiteView.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/Helpers/IETouchActionManager.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/Widgets/Draggable.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/Popup/PopupScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/Widgets/Resizable.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/ShortCutManager/ShortCutManagerScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/TouchScrollExtender.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Common/Animation/AnimationScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Window/RadWindowScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Window/RadWindowManager.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/Grid/RadGridScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/ComboBox/RadComboBoxScripts.js" type="text/javascript"></script>
    <script src="<CdnUrlHere...>/ComboBox/Views/LiteView.js" type="text/javascript"></script>

    Please give the provided scripts a try and if something is still missing try the approach that I have used. If the issues are still present, please share a simple runnable project with the controls that cause the issue and send it to us as an attachment in an official support thread. 

    Once we have a solution, we can share it here for convenience and better visibility from the community.

    Regards,
    Peter Milchev
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top