Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello!!

I am working on an report. I have taken an image in the report and passed a parameter as it's value . The problem is that this external image is not getting shown
in the report . The Image that i am showing from database is getting shown but this external image is not .

here is the code

XML
ReportViewer1.LocalReport.EnableExternalImages = true;
        List<ReportParameter > param1 = new List<ReportParameter>();
        param1.Add( new ReportParameter("Path",Request.Url.AbsoluteUri.Replace( Request.Url.AbsolutePath,"")+ @"/GPGS/Extra/logo.jpg"));
        ReportViewer1.LocalReport.SetParameters(param1);



the path of the image is correct. Please tell me what to do.
Posted
Comments
darshan_ur 13-Sep-12 10:05am    
How are you assigning the Image parameter to the container?
ujjwal uniyal 14-Sep-12 0:40am    
Parameters!Path.Value

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900