Click here to Skip to main content
12,289,975 members (71,078 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET Reporting
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

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 13-Sep-12 2:32am
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160518.1 | Last Updated 13 Sep 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100