I have a report that I am creating in Report Builder 3.0 that I appear unable to set the color value (or any value) on TextBoxes Borders.
I have a list that I have added a text box to. I then click on the text box and select Text Box Properties ... then click Border, the value for Color: is Black. If I change this value to anything else and then click OK, then come back into Text Box properties it is set back to Black. Any idea what is going on here? Is this not the correct way to set a border color?
It looks like when changing the Border color you need to follow the following procedure (if doing a color change or if trying to do an expression to get that color)
Change Color (or create expression)
Click None (for no border)
Click Outline (for border)
Click OK
Not sure why you need to remove and re-add the border (outline), but this appears to fix the issue. If you do not remove and re-add the border (outline) it looks like it reverts to the default (which in my case was black).
You need to set the tablix border to None and then set each cell border to Solid. Making any changes to the tablix then the cell makes the Default come back since you have not set the tablix border to None.
I was having the same problem (except I wanted the border widths changed).
In testing HDog's answer, I've discovered that the reason you need to re-add the border after making changes to the properties is so that you can select the actual border you want to apply the changes to.
For example, if you want a white border on the left and a blue border on the right, select None (for no borders), change the color property to white, select the left border (it will show in white), change the color property to blue, and select the right border (it will show in blue). Then click "OK".
If you come back to the border properties for that cell, you will see the color property set back to black, but the actual borders you change still in the color you set them to.
Related
I am using a totally standard tablix table (no embedded sub-tables or anything) in a SSRS report with a 1pt solid border around all cells which looks as I would expect during preview with consistent borders.
But when I deploy the report and run it, the borders are inconsistent with a thicker horizontal border line appearing every two or three rows, and the external borders also being inconsistent.
I see the same in Edge and Chrome.
Any ideas?
example here
Try changing the border width to 0.5pt, this worked for me.
I had the same problem.
I solved it by avoiding overlapping of borders of subsequence cells.
Mainly you don't need top border at all.
And you don't need right border for all cells except the right most one.
Here is my settings looks like:
For all cells :
Boarder Style Setting For All Cells
For right most cell:
Boarder Style Setting For Right Most Cell
The border of my top most row is covered by border of header row.
Hope it helps.
i tried to change color to white, and change border style to dashed.
But I don't know why it kept undoing my setting. How do I set to hide borders? I have 2 tables in a rectangle
You hide borders by setting the BorderStyle property to None. Note that you may also need to change this on the cells that are adjacent so that they don't have a border property setting that would put a border along the adjoining edge.
The BorderStyle property is not part of the Tablix Properties dialog box, it is on the Properties panel in the Border section (press F4 or menu View-Properties Window if this isn't displayed).
If you click the top left handle of the table to select the entire table you will see this in the Properties panel. You can also set the BorderStyle if you select an individual cell or range of cells.
If you have the View-Toolbars-Report Borders menu option selected, you can also use the BorderStyle dropdown to quickly set common BorderStyle options on the selected report items.
The fastest way is the answer of Chris Lätta if you want to do it by table. But if you want to hide the border by textbox you could do it this way.
Right click on the textbox that you want to remove the border
click Text 'Box Properties'
click 'Border'
then select 'None' on Presents options.http://prntscr.com/8w7i0k
Resolved this by removing the page header on the report.
Right click anywhere outside of the tablix on the report and you should see a remove page header option.
I am using SSRS 2005(MS-BIDS 2005) to design reports.For designing one of the table i have a requirement to draw a horizontal lines above and below group headers and footers as shown in the image below
When i try to drag and drop a line from the tool box, i get the below error
Is there any way using which i can draw lines as shown in the image.
Thanks in advance :) .
You can use borders property. Make top and bottom border style as solid in border style and rest as None. Then border color as Black do it where you want lines. And just set border style as None where you don't want it.
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?
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:
Go into paint and draw a rounded corner box the size you need.
Cut the set of text boxes to surround with rounded border.
Place a rectangle control over the entire area all the text boxes covered.
Paste my text boxes onto the rectangle.
Right-Click and choose rectangle properties.
Select the Fill Tab and select "Embedded" image source.
Click Import and select your paint image(i used PNG but it shouldn't matter).
Click Ok.
Find and expand BackgroundImage on Rectangle and change BackgroundRepeat to "Clip.". Otherwise, your image is repeated.
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
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.
Insert the 3x3 table
Insert an image on each corner. They will be a quarter of a circle each. (This image is created in MS Paint or your favorite image program)
Make those 4 corners cells unresizable (Set property CanGrow to false). Make sure all the other cells have CanGrow = true if you need it
Make all the cells the same background color (same color as the image you draw).
Write your text in the middle cell.
OPTIONAL: It might also be a good idea to fuse the 3 vertical middle cells if possible. It will allow more space to write text in the cell.
This way you won't have to create new image everytime the size of your textbox change.
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.
Indicator automatically extends when the row in the table will be more than one line of text. Here is an example how it looks like:
What to do to not change its size?
There is an option such "Auto-fit all gauges in panel" in Indicator properties. But I don't understand how it works and what should I do to change it in right way.
Any tips? ;)
You should put a rectangle within your table cell, and put the indicator within that.. This should ensure that the indicator size stays uniform.
Also remember to remove the rectangle borders where required.