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

The images not fit in the radgrid's cells

1 Answer 37 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
selva
Top achievements
Rank 1
selva asked on 20 Jul 2011, 11:50 AM
Hi

I have used radgrid in my webpart coding (for MOSS 2007). The rad grid has 4 columns (width of each 58+505+200+99=862). I am trying put 4 diiferent images in the Radgris header columns. the total width of the 4 images is 58+505+200+99 = 862. The images are not fit exactly. It makes vertical white line or hide the other column image.

The radgrid is placed in 870 width <TD>. What is the problem?.

Thanks in advance,

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 22 Jul 2011, 09:16 AM
Hi Selva,

 The cells of the grid might have borders and might paddings which increase the total width of the columns. Normally the cells have 7px padding on both sides and 1px border which increases the total width of the column by 16px. You should take this into account when calculating the column widths. Or you should apply different styles that remove the borders and paddings of the cells.

Regards,
Marin
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Sharepoint Integration
Asked by
selva
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or