Thanks for the help. I'm putting a div in and controlling
its border
attributes, should be good enough.
-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailto OTNET-WE
B DISCUSS.DEVELOP.COM] On Behalf Of Ross Day
Sent: Wednesday, March 29, 2006 1:09 PM
To: DOTNET-WEB DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WEB] controling individual gridlines in
a gridview
Um....basic CSS? I, for one, always just assign classes to
.Net
controls so I can have CSS in external stylesheets. I guess
using the
built-in style attributes, you can't specify more than
generic border
attributes that would be applied to all four borders.
That's too bad.
As I said, I would just set the CssClass of the grid, and I
usually set
RowStyle-CssClass, AlternatingRowStyle-CssClass,
HeaderStyle-CssClass,
PagerStyle-CssClass, FooterStyle-CssClass,
EditRowStyle-CssClass, and
SelectedRowStyle-CssClass as needed for a given grid. Then
I can just
use external CSS to control everything. If you actually set
style
attributes in the control, then .Net takes it upon itself to
render all
of those properties in a style attribute for each and every
row of the
table. That's not very bandwidth efficient.
JM2C,
Ross D.
Alex Smotritsky wrote:
> How do I control individual gridlines in a gridview?
>
> For example: I might want the middle gridline in a 2
column gridview to be
> Red.
===================================
This list is hosted by DevelopMentorR http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|