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.

Recommended Answers

wrong post

Jump to Post

All 2 Replies

wrong post

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()
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.