0

Hi all

I have a RDCL Report called Report1.RDCL.
In this report I put an image box named logo the select image Source is set to EXTERNAL and in the use this image I have Parameters!LogoPath.Value.
I would like the users to be able to pick their own logo.
How can I pass the file path to the paremeter.

Thanks.

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by VIPER5646
0

try the following

Me.ReportViewer1.LocalReport.EnableExternalImages = True
      Dim img As String = "file:\\[U]FilePath+Filename[/U]"
      Dim path As New ReportParameter("LogoPath", img)
      ReportViewer1.LocalReport.SetParameters(New ReportParameter() {path})
      Me.ReportViewer1.RefreshReport()
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.