Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Controlling Display of an asp:CheckBoxField in GridView

Thread Tools

Controlling Display of an asp:CheckBoxField in GridView
Posts: n/a

I have a simple grid view, defined thusly:

<asp:GridView ID="grdCO_Comments" runat="server" Width="755px"
BackColor="White" HorizontalAlign="Center"
Font-Bold="True" Font-Size="10pt"
AutoGenerateColumns="False" EmptyDataText="NO COMMENTS ON FILE" >
<HeaderStyle BackColor="Black" ForeColor="White"
Font-Bold="True" HorizontalAlign="Center" />
<asp:BoundField DataField="DATE" HeaderText="Date">
<ItemStyle Width="100px" />
<asp:BoundField DataField="UName" HeaderText = "User">
<ItemStyle Width="100px" />
<asp:CheckBoxField DataField="COM" HeaderText="ALL COM
<ItemStyle Width="40px" />
<asp:CheckBoxField DataField="CUST FIN" HeaderText="ALL
<ItemStyle Width="40px" />
<asp:CheckBoxField DataField="BO SHIP" HeaderText="BO and
<ItemStyle Width="40px" />
<asp:BoundField DataField="NOTES" HeaderText="Comment">
<ItemStyle Width="300px" />
<AlternatingRowStyle BackColor="LightGreen" ForeColor="Black" /

<RowStyle HorizontalAlign="Left" VerticalAlign="Top" />

The CheckBoxFields display checkboxes with DarkGray-on-LightGray
coloring, I suppose because they are disabled. I need to display the
checkboxes in Black-on-White coloring for ease of viewing. Can someone
help me with a solution?


Jory Liebman

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling data display with ? ASP .Net Web Controls 2 05-03-2007 03:18 PM
ModelSim, controlling waveform display VHDL 1 06-06-2006 06:50 PM
GridView Hierarchical View - Gridview in Gridview =?Utf-8?B?bWdvbnphbGVzMw==?= ASP .Net 1 05-09-2006 06:48 PM
ToolTip - controlling duration of display Mike Salter ASP .Net 1 07-04-2005 12:28 PM
generically controlling precision of date display SN Java 4 11-13-2003 05:26 AM