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

Disabling Embedded Resources

1 Answer 151 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dasha
Top achievements
Rank 1
Dasha asked on 12 Dec 2019, 12:19 PM

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.

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 17 Dec 2019, 09:13 AM

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.
Tags
Grid
Asked by
Dasha
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or