How to embed image with text in SSRS

  • Hello,

    I am working on a report header. Right now we have a subreport that will give the metadata for the report like owner, executed by, execution time etc..we are using this subreport for all the reports to get the metadata. Right now we have only the image as header and just below the report header we are using the subreport to get the metadata ...something like this

    IMAGE

    OWNER REPORTNAME

    EXECUTION DATE EXECUTED BY

    Now, We just want to modify the report header not to include the sub report and embed these 4 (OWNER,EXECUTION DATE,EXECUTION TIME, REPORTNAME) with the image and these 4 should be dynamic.

    IMAGE OWNER

    EXECUTION TIME EXECUTED BY REPORTNAME

    Please help me with any suggestions on how to achieve this.I tried by placing the subreport just beside the image in header but it is not allowing.

    Thank You

  • OK this was a fun proof of concept again.

    building an image out of text on the fly is going to require programming;

    i'm not an SSRS guy, but i can develop in .net.

    there's two ways to do it:

    1. build an actual image, saving the image someplace, and putting the link in the page.

    2. A similar variation of that ideabuild a web page that returns an image with parameters. The page builds the image and returns the image back as a stream.

    The web server that builds the image must be accessible to the users calling the image/service.

    i needed to HTMLEncode the querystring to look like this:

    so someplace in the report i'd build a string with an IMG tag like this:

    <img src="/textAsImage.aspx?txt=StuffToSay" />

    web page example:

    i can post the code examples if you are ready for them.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • did i read your requirement wrong?

    i thought you wanted to build an image on the fly based ond ata in your dataset, was i wrong?

    that was the development path i went down, but after re-reading your post, i'm not sure that was what you wanted at all.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • I am sorry for not responding to your post immediately. I dont want the image to be displayed on fly. I just dragged an image onto the header of my report and used the companylogo for the image. Now in the same header section just beside the image I want to display the metadata for the report like author, owner, execution date..the report header part should look like this...I am trying by placing text boxes..but that is not the best solution I guess...

    IMAGE AUTHOR OWNER

    EXECUTION DATE EXECUTED BY

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply