Click here to Skip to main content
15,891,733 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionvalidation +asp.net 2.0 + c# Pin
ritu43211-Mar-07 17:47
ritu43211-Mar-07 17:47 
AnswerRe: validation +asp.net 2.0 + c# Pin
Amit Agarrwal1-Mar-07 17:57
Amit Agarrwal1-Mar-07 17:57 
QuestionASP.Net - Web.config, Global.asax Pin
Kusal1-Mar-07 15:45
Kusal1-Mar-07 15:45 
AnswerRe: ASP.Net - Web.config, Global.asax Pin
Haissam3-Mar-07 14:27
Haissam3-Mar-07 14:27 
QuestionTotal Number of Rows in DataTable Pin
atlwebguy1-Mar-07 11:02
atlwebguy1-Mar-07 11:02 
AnswerRe: Total Number of Rows in DataTable Pin
kubben1-Mar-07 11:18
kubben1-Mar-07 11:18 
AnswerRe: Total Number of Rows in DataTable Pin
playout1-Mar-07 20:10
playout1-Mar-07 20:10 
QuestionWhy is default hyperlink font colors trumping my fonts in GridView sortable columns and menu items? Pin
darren241-Mar-07 10:50
darren241-Mar-07 10:50 
Hello all,

I have a gridview and a menu that I can not get to show just white text. I thought I specified the font colors for the column headers of the gridview in my .css file but the default hyperlink colors are taking control instead. Same thing with my menu although I'm not so sure where to change font color for my menu items. I know I'm missing something simple and I really want just what is on the code project's menu with white menu text and I want it to stay white even after the user visits. Any help is greatly appreciated.

menu...
<asp:Menu ID="Menu2" runat="server" DataSourceID="SiteMapDataSource1" Orientation="Horizontal"
DynamicVerticalOffset="2" Height="20"
StaticEnableDefaultPopOutImage="false" StaticItemFormatString="&amp;nbsp {0} &amp;nbsp">
<StaticMenuStyle BorderStyle="None" BackColor="Gray"/>
<StaticMenuItemStyle ForeColor="Black"
BorderColor="#D9D9E6" BorderStyle="Solid" BorderWidth="1px"
Font-Size="10pt" />
<DynamicMenuStyle BorderStyle="Outset" BorderWidth="1px"
BorderColor="White" BackColor="#D9D9E6" />
<DynamicMenuItemStyle Font-Names="Tahoma" Font-Size="8pt"
BorderStyle="Solid" BorderWidth="1px" BorderColor="#D9D9E6" />
<StaticHoverStyle BackColor="Ivory" BorderStyle="Solid" BorderWidth="1px"
BorderColor="#D9D9FF" />
<DynamicHoverStyle BackColor="Ivory" BorderStyle="Solid" BorderWidth="1px"
BorderColor="#D9D9FF" />
</asp:Menu>

<asp:SiteMapDataSource ID="SiteMapDataSource1"
runat="server" ShowStartingNode="false"/>

gridview column header issue...
<asp:GridView ID="GridView1" runat="server" CssClass="DataWebControlStyle" AutoGenerateColumns="True" AllowSorting="true" OnSorting="GridView_Sort" OnSorted="GridView_Sorted">
<HeaderStyle CssClass="HeaderStyle" />
<AlternatingRowStyle CssClass="AlternatingRowStyle" />
</asp:GridView>

.css file
.HeaderStyle
{
background-color: #005eff;
color: White;
font-weight: bold;
}



Darren
AnswerRe: Why is default hyperlink font colors trumping my fonts in GridView sortable columns and menu items? Pin
Omkar Ghaisas1-Mar-07 23:22
Omkar Ghaisas1-Mar-07 23:22 
GeneralRe: Why is default hyperlink font colors trumping my fonts in GridView sortable columns and menu items? Pin
darren245-Mar-07 3:07
darren245-Mar-07 3:07 
Questionuntrusted web server Pin
TheEagle1-Mar-07 10:19
TheEagle1-Mar-07 10:19 
Questionmail to admin wen a post on the website Pin
Prashanth KP1-Mar-07 8:14
Prashanth KP1-Mar-07 8:14 
AnswerRe: mail to admin wen a post on the website Pin
haggenx1-Mar-07 9:13
haggenx1-Mar-07 9:13 
QuestionCreate Images from Web Page Pin
oskardiazdeleon1-Mar-07 7:54
oskardiazdeleon1-Mar-07 7:54 
AnswerRe: Create Images from Web Page Pin
oskardiazdeleon1-Mar-07 11:41
oskardiazdeleon1-Mar-07 11:41 
QuestionHow to clear GridViewSortEventArgs.SortExpression? Pin
darren241-Mar-07 4:53
darren241-Mar-07 4:53 
AnswerRe: How to clear GridViewSortEventArgs.SortExpression? Pin
kubben1-Mar-07 5:55
kubben1-Mar-07 5:55 
QuestionDynamically creating multiple imagebutton control and getting correspoindind event to fire.. Pin
krishna_mag1-Mar-07 4:33
krishna_mag1-Mar-07 4:33 
AnswerRe: Dynamically creating multiple imagebutton control and getting correspoindind event to fire.. Pin
thomas_joyee1-Mar-07 4:52
thomas_joyee1-Mar-07 4:52 
QuestionHelp on simple problem with Container.DataItem Pin
Sean Gorman1-Mar-07 4:31
Sean Gorman1-Mar-07 4:31 
AnswerRe: Help on simple problem with Container.DataItem Pin
thomas_joyee1-Mar-07 5:02
thomas_joyee1-Mar-07 5:02 
GeneralRe: Help on simple problem with Container.DataItem Pin
Sean Gorman1-Mar-07 5:17
Sean Gorman1-Mar-07 5:17 
GeneralRe: Help on simple problem with Container.DataItem Pin
thomas_joyee1-Mar-07 5:42
thomas_joyee1-Mar-07 5:42 
QuestionGridViewAdapter + AJAX Pin
stolin1-Mar-07 4:29
stolin1-Mar-07 4:29 
QuestionPrevent web server reply. Pin
RobertGMiller1-Mar-07 3:55
RobertGMiller1-Mar-07 3:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.