Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

Controlling Display of an asp:CheckBoxField in GridView

 
 
jliebman@kjlsoftware.com
Guest
Posts: n/a
 
      11-13-2007
All:

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" />
<Columns>
<asp:BoundField DataField="DATE" HeaderText="Date">
<ItemStyle Width="100px" />
</asp:BoundField>
<asp:BoundField DataField="UName" HeaderText = "User">
<ItemStyle Width="100px" />
</asp:BoundField>
<asp:CheckBoxField DataField="COM" HeaderText="ALL COM
RCVD">
<ItemStyle Width="40px" />
</asp:CheckBoxField>
<asp:CheckBoxField DataField="CUST FIN" HeaderText="ALL
FIN APP">
<ItemStyle Width="40px" />
</asp:CheckBoxField>
<asp:CheckBoxField DataField="BO SHIP" HeaderText="BO and
SHIP">
<ItemStyle Width="40px" />
</asp:CheckBoxField>
<asp:BoundField DataField="NOTES" HeaderText="Comment">
<ItemStyle Width="300px" />
</asp:BoundField>
</Columns>
<AlternatingRowStyle BackColor="LightGreen" ForeColor="Black" /
>

<RowStyle HorizontalAlign="Left" VerticalAlign="Top" />
</asp:GridView>

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?

TIA

Jory Liebman

 
Reply With Quote
 
 
 
Reply

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 ? seth_hickel@yahoo.com ASP .Net Web Controls 2 05-03-2007 03:18 PM
ModelSim, controlling waveform display vernm@berkeleyprocess.com 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



Advertisments