SSRS 2008 images after text

Posted on 2009-12-24
Last Modified: 2012-05-08
I have a Reporting Services Report that I am trying to make look like a restaurant menu.  The way I want it to look is each menu item's description to be followed by a series of images, each one denoting attributes of the food (eg. healthy, new item, vegetarian friendly, etc)

It would look like this ([x],[y],[z] represent where the images would go:

Regular Burger [x] [z]             6.99
Big Bacon Burger [y] [z]         8.99
Veggie Burger [x] [y]              7.99

I have accomplished this using a table but I cant figure out how to add the images.  Obviously I could add them as columns, but this isnt what I want, I want the images to immediately follow the name of the food, which are all different lengths.  

Thanks in advance for any thoughts or ideas.
Question by:jdroger2
    LVL 10

    Assisted Solution

    You should use list rather than table. Then if you create very short text box which can expand horizontally and place image boxes just behind the textbox you will achieve what you want. The textbox will dynamically expand to accommodate your text and push the images to the right.

    Than you can either dynamically hide images to select only those you need for the row
    LVL 2

    Accepted Solution

    Use the table as you are doing already. But in the first column of the table, drag and drop a rectangle. Yes, you can drop a rectangle into a table cell. Now inside this rectangle you can freely arrange other items, such as a textbox for displaying the food name, followed by two images.

    If you don't add a rectangle into the table cell then the table cell can only display one item. But if you add a rectangle then not only can you add multiple items, but you can also freely arrange the items within the table cell.
    LVL 1

    Author Comment

    There are about 10 different attributes and theoretically they could add more, is there a way to have the image controls be a part of a table with a different dataset than the tablix I am in?
    LVL 1

    Author Comment

    forget my last post I've decided to do the attributes statically, but now the issue is how to make the text box grow horizontally based on the text inside, I have cangrow and canshrink set to true but it still doesnt work.  when the content in the expression is larger than the width of the control, it just wraps to the next line, which I don't want.  
    LVL 2

    Expert Comment

    Unfortunately Reporting Services doesn't support "horizontal CanGrow". The CanGrow/CanShrink only supports vertical size. To avoid wrapping you'll have to make the textbox as wide as the largest content.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Introduction Earlier I wrote an article about the new lookup functions ( that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
    How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now