This is a migrated thread and some comments may be shown as answers.

How to have a professionally looking grid

3 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wadigzon
Top achievements
Rank 1
Wadigzon asked on 25 Jun 2013, 05:19 PM
I have this section of my report both in design mode (design_mode.jpg) and in running mode (running_mode.jpg)
as you can see in running mode, there are things that make this report NOT look professional:

- While line under "Max Presence Clr"
- The gray horizontal lines dividing the data fields on the right hand side, sometimes is thin and sometimes is wide

is there any systematic way to avoid this rendering "errors" ?

regards,

3 Answers, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 28 Jun 2013, 08:53 AM
Do you have set white border to this item or the neighboring one?

About the gray horizontal line, you can try with different border sizes to avoid the strange antialiasing.
0
Wadigzon
Top achievements
Rank 1
answered on 23 Aug 2013, 11:37 PM
I think I figured it out .. 

looks like textbox objects should not remove their top and bottom border like this:
textbox.style.BorderStyle.Bottom = BorderType.None;
or
textbox.style.BorderStyle.Top = BorderType.None;

in the code behind, it will cause a crazy disruption on the rendering (lines with different thickness),
so you are aware of this.

may be is a bug in the rendering engine.... but as soon as I removed those lines that set the border type to none.
the problem was gone.
0
Peter
Telerik team
answered on 28 Aug 2013, 02:39 PM
Hi,

In Telerik Reporting the border is drawn halfway in and halfway out, meaning that in your case the second element hides half of the border of the first element. In order to deal with this issue you have to set both bottom and top borders and remove the top borders only where it is necessary.

Regards,
Peter
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Tags
General Discussions
Asked by
Wadigzon
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
Wadigzon
Top achievements
Rank 1
Peter
Telerik team
Share this question
or