Reputation: 7092
I have rectangle which act as container for other elements.
Can I somehow setup some property of rectangle to round its corners, in fact, to get rounded box.
In css it is easy, but how to do in SSRS?
Upvotes: 2
Views: 14097
Reputation: 1
You would have to build an image that has a transparent center for adding your text. All this would be more work than I would want to do just for a report. I would stick with just the standard textboxes.
Upvotes: -1
Reputation: 824
All solution I have seen use a background image inside a textbox. But you get problems when you try to resize the textbox.
The solution is to insert a 3x3 table inside the texbox.
This way you won't have to create new image everytime the size of your textbox change.
Upvotes: 3
Reputation: 103
Actually, it is fairly easy. I had a bunch of text boxes that a rounded corner border needed to be placed. The first thing I tried was an image control. I placed it on top of my text boxes and set it to "Send to back." It worked well in print rendering, however, in the browser rendering the HTML placed the textboxes after the image making it look horrible.
The solution was this:
The report should now render properly in both print and html rendering views. Unfortunately, this doesn't seem to stretch/size, so unless you can figure that one out, you will have to repeat whenever you need a different sized rounded box.
Brian
Upvotes: 2