Hello,
I have a template column with an image that is dynamically generated (by another page) based on other values in the grid:
It works fine for showing the grid, but when I try to do a PDF export it throws an exception "System.Web.HttpException: '/Reports/cst/ListBar.aspx?pl=5&ss=406' is not a valid virtual path.
at System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options)
at System.Web.HttpServerUtility.MapPath(String path)
at Telerik.Web.Apoc.Image.ApocImageFactory.Make(String href)
"
Is there a way to fix this without needing to save a zillion temporary image files to the server?
Thanks,
Nick
I have a template column with an image that is dynamically generated (by another page) based on other values in the grid:
((Image)myRow["Chart"].FindControl("imgChart")).ImageUrl = "~/Reports/cst/ListBar.aspx?pl=" + perflevel.ToString() + "&ss=" + myValue[0].ToString(); |
It works fine for showing the grid, but when I try to do a PDF export it throws an exception "System.Web.HttpException: '/Reports/cst/ListBar.aspx?pl=5&ss=406' is not a valid virtual path.
at System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options)
at System.Web.HttpServerUtility.MapPath(String path)
at Telerik.Web.Apoc.Image.ApocImageFactory.Make(String href)
"
Is there a way to fix this without needing to save a zillion temporary image files to the server?
Thanks,
Nick