Hi to all....
i am using VS2005 with infragistics 2007 vol.3... My query is am using UltraWebGridDocumentExporter for Exporting grid to PDF File..But its giving Error like this..
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Failed to map the path '/ig_grid.css'.Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[InvalidOperationException: Failed to map the path '/ig_grid.css'.] System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +8853098 System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath) +42 System.Web.VirtualPath.MapPathInternal() +4 System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +107 System.Web.UI.Page.MapPath(String virtualPath) +48 Infragistics.WebUI.UltraWebGrid.DocumentExport.UltraWebGridDocumentExporter.LoadStyleFile(String cssStyleSheetName) +136 Infragistics.WebUI.UltraWebGrid.DocumentExport.UltraWebGridDocumentExporter.GetCss(List`1 stylesheets) +174 Infragistics.WebUI.UltraWebGrid.DocumentExport.UltraWebGridDocumentExporter.RenderDocument() +340 Infragistics.WebUI.UltraWebGrid.DocumentExport.UltraWebGridDocumentExporter.PagePreRender(Object sender, EventArgs e) +477 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Control.OnPreRender(EventArgs e) +8682950 System.Web.UI.Control.PreRenderRecursiveInternal() +80 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614
Is the css file available in your hosting environment?
Hi Alex... thakyou for your reply. I am having CSS File also..