PivotGrid referencing TelerikData

2 posts, 1 answers
  1. Constantinos Petridis
    Constantinos Petridis avatar
    21 posts
    Member since:
    May 2010

    Posted 15 Apr 2014 Link to this post

    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
  2. Answer
    Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 18 Apr 2014 Link to this post

    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.

    Ivan Todorov

    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.

Back to Top