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

[Solved] Border Formatting Issues

1 Answer 205 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 22 May 2009, 02:28 PM
When using the RADGrid, I have found two formatting issues that concerned me.  I can create screens shots of both, upon request.

Issue 1:
When performing an in-line edit of a row, when I select a row, using the Web_Blue skin, there is a border that is shown around the bottom selected/highlighted row.  The issue I am experiencing is that, if there is no data (null or empty string), the bottom border line disappears for that specific cell.  This causes a dashed line appearance.

Issue 2:
When a radGrid is set to have a Border around the outside...when I perform an In-Line edit, the two icons (X and checkmark) pushes the grid to be wider, however the border around the grid is not moving, it is staying at the same fixed width as the original screen. 
This issue appears only in IE7.  The functionality works correctly in IE.

Again, I can produce screenshots if needed to show the issues we are experiencing.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 25 May 2009, 12:08 PM
Hi Robert,

Both issues are expected:

1) Internet Explorer is unable to show borders for empty table cells. RadGrid handles this by adding a   string to data cells, however, these can be removed, depending on data coming from the datasource. The usual workaround is to subscribe to the ItemDataBound event and add a   string manually:

http://www.telerik.com/community/forums/aspnet/grid/empty-cells-gridlines-are-not-appearing.aspx

2) RadGrid is a <table> element placed inside a <div> element. Tables expand horizontally when they cannot enclose their content, but divs do not do that (except in IE6). One option is to set larger width in pixels, another option is to float the RadGrid control and clear the float right after it:

<telerik:RadGrid  style="float:left"  />
<div style="clear:both"><!-- --></div>


Regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or