I get this error when I use the DocumentExporter on a simple wingrid.
I get this for all file types (pdf,xps,text)
the excel exporter works just fine.
[ArgumentOutOfRangeException: [0.0, ...]Parameter name: value] Infragistics.Documents.Report.FixedWidth..ctor(Single value) +109 Infragistics.WebUI.UltraWebGrid.DocumentExport.CssStyle.ApplyWidth(ReportElement element) +400 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportCaption.ApplyStyle(CssStyle style) +56 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportElement.ApplyStyleSheet(String classes, String styles) +125 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportCaption..ctor(String text, String url, IText element, ReportElement parent) +198 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportCell.AddText(String text, String url) +72 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportWrapper.AddText(String text, String url) +71 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportRenderer.ExportCell(UltraGridCell gridCell, XPathNavigator navigator) +521 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportRenderer.WalkCells(XPathNavigator navigator) +264 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportRenderer.ExportRow(UltraGridRow gridRow, ReportTable table, XPathNavigator navigator) +647 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportRenderer.WalkRow(XPathNavigator navigator, ReportTable table, Boolean skipDescendants) +227 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportRenderer.WalkRows(XPathNavigator navigator, String classes, String styles) +760 Infragistics.WebUI.UltraWebGrid.DocumentExport.ReportRenderer.Render() +297 Infragistics.WebUI.UltraWebGrid.DocumentExport.UltraWebGridDocumentExporter.RenderDocument() +479 Infragistics.WebUI.UltraWebGrid.DocumentExport.UltraWebGridDocumentExporter.Export() +347 Infragistics.WebUI.UltraWebGrid.DocumentExport.UltraWebGridDocumentExporter.Export(UltraWebGrid grid, ISection section) +50 Infragistics.WebUI.UltraWebGrid.DocumentExport.UltraWebGridDocumentExporter.Export(UltraWebGrid grid, Report report) +50 Infragistics.WebUI.UltraWebGrid.DocumentExport.UltraWebGridDocumentExporter.Export(UltraWebGrid grid) +56 Results.cmdPDF_Click(Object sender, ButtonEventArgs e) in C:\Users\leo.SARPYIS\Documents\Visual Studio 2008\WebSites\pictest\Results.aspx.vb:149 Infragistics.WebUI.WebDataInput.WebImageButton.OnClick(Int32 action) +139 Infragistics.WebUI.WebControls.Buttons.WebButtonBase.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +115 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
I am having the exact same problem. Is there any solution to this, or any way to get more information about the nature of this error?
Moved this thread to the ASP.Net forums, since it's clearly about WebGrid, not WinGrid.