Different themes have different styling for the borders. My previous reply was based on the default theme for the suite. I did not know that you were using the TelerikMetroBlue theme. The latter is using a single border for the cells, rather than four borders, hence the previous snippet did not work for it. Please give the following approach a try:
sender, CellFormattingEventArgs e)
e.CellElement.BorderBoxStyle = BorderBoxStyle.FourBorders;
e.CellElement.BorderTopWidth = 0;
e.CellElement.BorderBottomWidth = 0;
e.CellElement.BorderLeftColor = e.CellElement.BorderColor;
e.CellElement.BorderRightColor = e.CellElement.BorderColor;
In addition, may I please ask you what are the difficulties you had experienced with the site. What file (extension) you were trying to attach? How big was it?
I am looking forward to your reply.
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.