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

Export to image does not work

1 Answer 83 Views
ClientExportManager
This is a migrated thread and some comments may be shown as answers.
Naveen
Top achievements
Rank 1
Naveen asked on 10 Jun 2015, 10:27 PM

I updated to the latest release 2015.1.401.45 and the ClientExportManager seems to not work since the update. Embedded scripts are disabled for the whole application and I'm bundling the RadClientExportManager.js along with scripts of other controls. I'm getting an Javascript error saying "Uncaught TypeError: Cannot read property 'drawing' of undefined." I don't see any documentation on Disable Embedded Scripts regarding the script files required for the client export manager. The export used to work before the update to latest version. I also use some controls from the Kendo UI Core framework, but I don't think that it has affected it because the export was working along with the Kendo controls before the update of ASP.NET Ajax controls.

 

Any ideas why the export might not be working?

 Following is the order in which the scripts are bundled.

'Scripts/telerik/Common/Core.js',
'Scripts/telerik/Ajax/Ajax.js',
'Scripts/telerik/Common/jQueryPlugins.js',
 'Scripts/telerik/Common/Navigation/OverlayScript.js',

 'Scripts/telerik/Common/Navigation/NavigationScripts.js',
'Scripts/telerik/Common/Animation/AnimationScripts.js',
'Scripts/telerik/Common/AnimationFramework/AnimationFramework.js',

'Scripts/telerik/ClientExportManager/RadClientExportManagerScripts.js',

'Scripts/kendo/kendo.core.min.js',
 'Scripts/kendo/kendo.angular.min.js',
 'Scripts/kendo/kendo.data.min.js',
'Scripts/kendo/kendo.popup.min.js',
 'Scripts/kendo/kendo.list.min.js',
'Scripts/kendo/kendo.fx.min.js',
 'Scripts/kendo/kendo.userevents.min.js',
'Scripts/kendo/kendo.draganddrop.min.js',
'Scripts/kendo/kendo.mobile.scroller.min.js',
'Scripts/kendo/kendo.dropdownlist.min.js'

 

Thanks,

Naveen Jones

1 Answer, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 12 Jun 2015, 09:55 AM
Hello,

The RadClientExportManager is build on top of the Kendo drawing API. Load the RadClientExportManager's script after all of the Kendo's scripts.

Regards,
Peter Filipov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ClientExportManager
Asked by
Naveen
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or