I have a page (supplier.aspx) which will dispaly the anual report of the suppplier on which i have to show the Logo of that supplier. Logo is in Database so first i have to get that to a page(Logo.aspx) i am doing so it is working properly on the aspx by writing the following line of code in the supplier.aspx.cs.
image.ImageURL="Logo.aspx?supid=4";
Upto supplier.aspx page it is ok it is displaying the logo but when i conert supplier.aspx page to PDF using
pdfConverter.SavePdfFromHtmlStringToFile(pdfData, "a.pdf");
here "pdfData" is html rendered code of the supplier.aspx page. Here is our problem when it converts into PDf it is not displaying the image because it can't execute the path which we had given to ImageURL. It is executing the physical path on the disk and getting the image to pdf from disk but it is not working with aspx page link. So i just want to put directly the image on to the supplier.aspx page without calling Logo.aspx page.
Thanks & Regards, Anil Chelasani
modified on Friday, May 29, 2009 3:15 AM