Charts C1ReportDesigner中的C1Chart和自定义字段

Charts C1ReportDesigner中的C1Chart和自定义字段,charts,report,reportviewer,report-designer,Charts,Report,Reportviewer,Report Designer,我收到一个错误:“未能从程序集'C1.C1Report.CustomFields.4'创建自定义字段'C1.C1Report.CustomFields.Chart'。” 我正在为ASPNET_2011使用ComponentOne Studio 我已经解决了论坛上提出的几乎所有问题 我正在使用C1ReportDesigner创建报表定义(xml)模板。报告定义包含一些子报告和图表的自定义字段。该报告与C1ReportDesigner预览配合良好,但当我使用C1ReportViewer在web fo

我收到一个错误:“未能从程序集'C1.C1Report.CustomFields.4'创建自定义字段'C1.C1Report.CustomFields.Chart'。”

我正在为ASPNET_2011使用ComponentOne Studio

我已经解决了论坛上提出的几乎所有问题

我正在使用C1ReportDesigner创建报表定义(xml)模板。报告定义包含一些子报告和图表的自定义字段。该报告与C1ReportDesigner预览配合良好,但当我使用C1ReportViewer在web forms 4.0中使用相同的模板时,会出现上述错误。没有CustomField(图表),它不会给我错误

我在下面提到了dll的版本:

C1ReportDesigner详细信息

设计师版本:4.6.20111.54308报告版本:4.6.20111.54308 C1.C1Report.CustomFields.4.dll-–>4.6.20101.1 C1.C1Report.4.dll-–> 4.6.20111.54308(\ComponentOne\Studio for ASP.NET\ReportingTools\Designer.4)C1.C1Report.4.dll-–> 4.6.20111.54307(\ComponentOne\Studio for ASP.NET\bin\v4)C1.Win.C1Chart.4.dll-->4.0.20101.20119(\ComponentOne\Studio for ASP.NET\bin\v4) ASP.NET\ReportingTools\Designer.4

Web应用程序(项目)Dll的

//C1.C1Report.4.dll-–>4.6.20111.54307 //C1.C1Report.CustomFields.4.dll-–>4.6.20101.1 //C1.Win.C1Chart.4.dll->4.0.20111.21027


我已经按照论坛中的建议在项目中添加了自定义字段dll,但它不起作用。请帮助!!!!!

问题似乎是由于使用的图表dll版本不正确

使用的CustomField dll为10v1,而C1Chart dll的版本为11v1(即更高版本)

因此,添加C1Chart最新版本的引用将无法达到此目的,因为CustomFields dll将无法引用此图表dll。您需要添加与C1ReportDesigner一起打包的控件版本的dll,并与CustomField项目使用的dll版本同步

有关这方面的完整详细信息,请参阅以下论坛帖子:

问候,, 莫希塔