locked
RDLC Report external background image not working RRS feed

  • Question

  • I have a VS 2019 web app project that I am attempting to display a background image on a report based on a report parameter. My jpg file resides in the image folder under my project. this was working before when I had the image in a shared folder but now I can't get it to work. I have set the image to "include in project".

            <Style>
              <BackgroundImage>
                <Source>External</Source>
                <Value>=IIF(Parameters!RptParam_CommentCount.Value = 0,"file://Images/nocomments_watermark_landscape.jpg","")</Value>
              </BackgroundImage>
            </Style>

    Monday, September 28, 2020 8:40 PM