Welcome to the ASP.NET Web Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET Web Forms, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hi,
Our ASP.NET web forms PivotClient excel/pdf/word export was working ok until we updated our pivot nuget package to version 17.4.0.55 from 17.2.0.46. PivotClient datasource is relational.
Now if same data is exported with same code, server -side function PivotClient1_ServerExporting(ByVal sender As Object, ByVal e As Syncfusion.JavaScript.Web.PivotClientEventArgs)
will throw error:
The given key was not present in the dictionary.
Here's client side code:
function exporting(args) {
//ClientMode export
args.url = "pivotClientExport"
}
and control:
<ej:PivotClient ID="PivotClient1" runat="server" Title="Vessel Emission Browser" IsResponsive="true" ServerExporting="PivotClient1_ServerExporting" GridLayout="ExcelLikeLayout" ShowReportCollection="false" ClientIDMode="Static" CollapseCubeBrowserByDefault="true" Locale="en-US" ClientExportMode="ChartAndGrid">
.......
<ClientSideEvents Load="onLoad" BeforeExport="exporting">
Best regards,
Tomi