I'm getting an error with the WebExcelExporter. Here's my code...
<asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="True" runat="server" />
<ig:WebDataGrid runat="server" ID="wdg_Report" Height="200px" Width="800px" AutoGenerateColumns="false"> <Columns> <ig:BoundDataField Key="vch_utility_name" DataFieldName="vch_utility_name" Header-Text="Utility" /> <ig:BoundDataField Key="vch_account_number" DataFieldName="vch_account_number" Header-Text="Account Number" /> <ig:BoundDataField Key="vch_name_on_bill" DataFieldName="vch_name_on_bill" Header-Text="Name On Bill" /> <ig:BoundDataField Key="vch_status" DataFieldName="vch_status" Header-Text="Account Status" /> <ig:BoundDataField Key="vch_rate_code" DataFieldName="vch_rate_code" Header-Text="Rate Code" /> <ig:BoundDataField Key="vch_agent_name" DataFieldName="vch_agent_name" Header-Text="Agent" /> </Columns></ig:WebDataGrid>
<ig:WebExcelExporter runat="server" ID="wee_WebExcelExporter" ExportMode ="Download" DownloadName="ExportedData" /><asp:Button runat="server" ID="btnExport" Text="Export Data" OnClick="btnExport_Click" />
code behind:
Protected Sub btnExport_Click(ByVal sender As Object, ByVal e As System.EventArgs) Try Display_Report() wee_WebExcelExporter.Export(wdg_Report) Catch ex As Exception Debug.Send_Exception_Report(ex) Finally
End Try End Sub
When I click the "Export Data" button I'm getting a "Property evaluation failed" error on wdg_Report on this line:wee_WebExcelExporter.Export(wdg_Report)
I am able to download the spreadsheet though. It downloads perfectly, but I'm getting the exception. I'm running htis locally in the Visual Studio 2008 debugger, in case that makes a difference.
The Infragistics version I'm using is: Infragistics35.Web.v10.3
Any Ideas?
Hi Seth,
If you are still getting this error, could you perhaps attach a sample here for us to try to reproduce on our end and create a bug? Another option would be to upgrade to the latest Service Release to see if the issue might have been resolved.
regards,David Young
Hello,
I'm getting the same error. Did anyone figure out a resolution?
Thanks,
Seth
Hello Eric,
I have created a new support ticket on your behalf.
CAS-55934-ZT55PY
I will contact you through the case.
Let me know if you need further assistance.
Hi,
I have never run into such exception before so I can't give any suggestion. You can submit a bug for that issue to our dev support system.
Thanks!