title | description | type | page_title | slug | res_type |
---|---|---|---|---|---|
Border's styles are not applied. |
Learn why the Border's styles may not be respected and how to overcome this problem in Telerik Reporting. |
troubleshooting |
Changing the Border's styles has no effect |
borders-style-is-not-applied |
kb |
Product | Progress® Telerik® Reporting |
In this article we will discuss possible solutions for when the Borders' styles set in the item's Styles properties are not respected.
The most common reason is that the BorderStyle and BorderWidth properties of the report item are set to conflicting values, for example:
BorderStyle: Solid
BorderWidth: 0px
This can produce unexpected result in some rendering formats.
- To hide the border, set BorderStyle=None. Otherwise, the width of the border needs to be of value that is greater than 0.
- To set the width of the border, use BorderStyle=Solid (or all other options except "None") and specify the required value for BorderWidth property.
- [Using Styles to Customize Reports]({%slug telerikreporting/designing-reports/styling-reports/using-styles-to-customize-reports%})
- [Style Inheritance and Overriding]({%slug telerikreporting/designing-reports/styling-reports/style-inheritance-and-overriding%})