removing border?

Feb 16, 2010 at 4:59 PM

Hi, 

Firstly, thank you for all your hard work, and for generously providing this control to the community.

Onto my issue ;o) I can't seem to remove what seems to be a default gray border on the coolgridview control.. I've double checked my CSS, tried borderstyle=none, to no avail.  From inspecting the element it seems a 1px gray border is in the mainDiv (or was that divMain...) of the gridview, i'm guessing that's how asp/yourself splits up the code from the header/content etc.. I'm not sure where I need to apply code myself to remove it.

any clues?

thanks again :D

 

Coordinator
Feb 17, 2010 at 4:43 AM

In the ASPX, set the property below of the coolgridview to "None"

BoundaryStyle-BorderStyle="None"

You can also use

BoundaryStyle-CssClass = "MyCssClass"

and define the border-style to "none" on your MyCssClass definition. The Boundary is the bounding box that surrounds the coolgridview and is rendered as DIV. To change the style of the said DIV, you have to use the BoundaryStyle of CoolGridView.

Feb 17, 2010 at 12:52 PM

Brilliant, thank you!