
Ziga HABJAN
Top achievements
Rank 1
Ziga HABJAN
asked on 26 May 2008, 07:50 AM
I setup a basic view-only grid with 4 columns. The 3rd & 4th columns have AllowFiltering="false", but now in IE the empty cell where the filters should be is missing bottom border - it works in firefox
http://img144.imageshack.us/img144/1913/radgnobottomborderlw7.jpg
I guess it has to do with IE not displaying border of container if nothing in it - a inside should do trick, but how to do it?
http://img144.imageshack.us/img144/1913/radgnobottomborderlw7.jpg
I guess it has to do with IE not displaying border of container if nothing in it - a inside should do trick, but how to do it?
8 Answers, 1 is accepted
0
Accepted
Hi Ziga,
You can add this using ItemCreated. Here is an example:
if(e.Item is GridFilteringItem)
{
((GridFilteringItem)e.Item)["YourColumnUniqueName"].Text = " ";
}
Regards,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can add this using ItemCreated. Here is an example:
if(e.Item is GridFilteringItem)
{
((GridFilteringItem)e.Item)["YourColumnUniqueName"].Text = " ";
}
Regards,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Ziga HABJAN
Top achievements
Rank 1
answered on 26 May 2008, 07:59 AM
Thank you, that did the trick :)
re,
Žiga
re,
Žiga
0

Shinu
Top achievements
Rank 2
answered on 26 May 2008, 11:17 AM
Hi Ziga,
You can also have a look at the following help article.
Setting filter textbox dimensions/changing default filter image
Shinu.
You can also have a look at the following help article.
Setting filter textbox dimensions/changing default filter image
Shinu.
0

Kevin
Top achievements
Rank 1
answered on 13 Aug 2008, 06:59 PM
I had the same 'missing' border annoyance in IE in my GridDataItems and fixed it with the following code in my ItemCreated event handler:
if (e.Item is GridDataItem)
{
GridDataItem dataItem = e.Item as GridDataItem;
dataItem[
"EnableDisable"].Controls.Add(new LiteralControl(" "));
}
0

Andy Steinfeld
Top achievements
Rank 1
answered on 14 Oct 2008, 09:23 PM
This solution works for the grid but when I export the grid to a pdf or word, I get "nbsp" in the columns. Is there a solution for the export that also retains the grid lines.
Thank you,
/Andy
Thank you,
/Andy
0
Hi Andy,
I tested the setup, and the control behaved as expected.
Attached to this message, is the code which I used for testing.
Take a look at it and let me know if I am leaving something out.
Regards,
Yavor
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I tested the setup, and the control behaved as expected.
Attached to this message, is the code which I used for testing.
Take a look at it and let me know if I am leaving something out.
Regards,
Yavor
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Dennis
Top achievements
Rank 1
answered on 28 Apr 2011, 06:01 AM
The borders are still missing when editing in inline mode is enabled and the row is in edit mode. The rest of the cells show borders.
0
Hello David,
Here is a related forum thread:
http://www.telerik.com/community/forums/aspnet-ajax/grid/border-not-displayed-if-cell-is-empty-in-internet-explorer.aspx
Check it out and see if it helps.
Kind regards,
Pavlina
the Telerik team
Here is a related forum thread:
http://www.telerik.com/community/forums/aspnet-ajax/grid/border-not-displayed-if-cell-is-empty-in-internet-explorer.aspx
Check it out and see if it helps.
Kind regards,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.