I recently did a test upgrade of our project to the 2011 Volume 1 set of controls. The project currently uses 2006 Volume 3 set of controls.
After a great deal of manual effort, since upgrade utility doesn't seem to do anything. I managed to get the project running. I noticed one superficial difference between the two versions.
Here is a partial screenshot of the same project using the 2006 and 2011 controls. Notice the grid cell borders.
2006:
2011:
How do I remove the cell borders but keep the row borders? I have figured out how to remove all the borders but we want to keep the row level ones.
Not exactly. I was able to solve the issue. The sample code more or less pointed me in the right though. Thanks.
Hello,
Were you able to resolve the issue using the code I have provided?
Please let me know if I may be further assist you regarding this matter.
You can set the StyleLeft and StyleRight to None and this will remove the vertical lines. The following code accomplishes this:
this.UltraWebGrid1.DisplayLayout.RowStyleDefault.BorderDetails.StyleLeft = System.Web.UI.WebControls.BorderStyle.None; this.UltraWebGrid1.DisplayLayout.RowStyleDefault.BorderDetails.StyleRight = System.Web.UI.WebControls.BorderStyle.None;
this.UltraWebGrid1.DisplayLayout.RowStyleDefault.BorderDetails.StyleRight = System.Web.UI.WebControls.BorderStyle.None;
Please let me know if you have any further questions regarding this matter.