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

PivotGrid referencing TelerikData

1 Answer 43 Views
PivotGrid and PivotFieldList
This is a migrated thread and some comments may be shown as answers.
Constantinos Petridis
Top achievements
Rank 1
Constantinos Petridis asked on 15 Apr 2014, 10:46 AM
Hello Telerik team :)

It seems that Telerik.WinControls.PivotGrid.dll (using ver 2014.1.402.40) is referencing TelerikData.dll

I assume that this has to do with export. My problem is that I need to ilmerge this dll and I would like not to include TelerikData.dll.
Also this is not present in the documentation of PivotGrid or in the Redistributing Telerik UI for WinForms section.

GridView also has excel export support and it also states (in documentation)
The HTML export functionality is located in the TelerikData.dll assembly.
You need to include the following namespaces in order to access the types contained in TelerikData:Telerik.WinControls.DataTelerik.WinControls.UI.Export

Will this be mantatory (referencing TelerikData.dll for PivotGrid) or will it change in the future, as it is in all other UI for WinForms dlls?

Thank you all

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Todorov
Telerik team
answered on 18 Apr 2014, 08:22 AM
Hi Constantinos,

Thank you for contacting us.

Indeed, the PivotGrid.dll is referencing the TelerikData.dll because of the export functionality. Generally, you don't need the TelerikData assemblies in scenarios where assemblies are dynamically loaded as it will only be loaded by the runtime when you try to export the data from RadPivotGrid. However, in scenarios where assemblies are statically resolved (ILMerge or WiX for example), not including the assembly causes errors.

Currently, we don't have any plans on removing this reference but we will surely consider this in the future. I have logged this in our feedback portal and you can track the progress here: http://feedback.telerik.com/Project/154/Feedback/Details/126334-fix-radpivotgrid-has-a-dependency-on-telerikdata-dll-and-chartview-dll-which-mak

I have updated your Telerik points for bringing this to our attention. For the time being, you can safely include the TelerikData assembly in your merged one. This should only result in an increase of a few KBs of the total size of the merged assembly.

If you have any other questions, I will be glad to assist you.

Regards,
Ivan Todorov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PivotGrid and PivotFieldList
Asked by
Constantinos Petridis
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or