Articles in this section
Category / Section

How do I control the visibility of GridLines in GridGroupingControl?

1 min read

The visibility of the lines in the Grid can be controlled by setting the GridLines property. The default setting is Both and other possible settings are: None, Horizontal, and Vertical.

C#

this.GridGroupingControl1.GridLines = System.Web.UI.WebControls.GridLines.Horizontal;

this.GridGroupingControl1.GridLines = System.Web.UI.WebControls.GridLines.Vertical;

this.GridGroupingControl1.GridLines = System.Web.UI.WebControls.GridLines.Both;

VB

Me.GridGroupingControl1.GridLines = System.Web.UI.WebControls.GridLines.Horizontal

Me.GridGroupingControl1.GridLines = System.Web.UI.WebControls.GridLines.Vertical

Me.GridGroupingControl1.GridLines = System.Web.UI.WebControls.GridLines.Both

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied