T
tshad
I am having a problem getting my Grid links to work correctly.
I have the following DataGrid:
<anthemataGrid AllowPaging="true"
AllowCustomPaging="false"
PageSize="10"
PagerStyle-Visible="false"
Visible=false
AllowSorting="True"
AutoGenerateColumns="false"
CellPadding="0"
CellSpacing="0"
ID="DataGrid1"
runat="server"
ShowFooter="false"
ShowHeader="true"
OnSortCommand="SortDataGrid"
BorderWidth="0"
Width="835px">
<headerstyle HorizontalAlign="center" CssClass="gridHeaderStyle" />
<alternatingitemstyle CssClass="alternateRows" />
<pagerstyle CssClass="gridPagerStyle" />
<columns>
<asp:BoundColumn DataField="Applied"
ItemStyle-Width="15px"
HeaderStyle-Width="15px"
ReadOnly="true"
Visible="True"
ItemStyle-VerticalAlign="Top">
<itemstyle ForeColor="red" />
</asp:BoundColumn>
<asp:BoundColumn DataField="Rank"
HeaderText="Rank"
ReadOnly="true"
Visible="false"
ItemStyle-VerticalAlign="Top"
SortExpression="Rank">
</asp:BoundColumn>
</columns>
</anthemataGrid>
I have the following CSS:
a:link, a:visited {
color:#CCFF33; - lime Green (just for testing)
}
..gridHeaderStyle {
color:#33FFCC;
background-color:#000000;
font-weight:bold
}
..gridHeaderStyle a:link, .gridHeaderStyle a:visited {
color:#red;
}
a.gridHeaderStyle:link, a.gridHeaderStyle:visited {
color:#red;
}
..gridPagerStyle {
background-color:red
}
No matter what I do - the links in the header that are for sorting are
showing as lime green. I am trying to get them to change to red.
The links in my site should be Lime Green (a:link and a:visited). I have
the headerstyles' CssClass set to gridHeaderStyle - but it doesn't seem to
be working for the links in the header.
Am I missing something here?
Thanks,
Tom
I have the following DataGrid:
<anthemataGrid AllowPaging="true"
AllowCustomPaging="false"
PageSize="10"
PagerStyle-Visible="false"
Visible=false
AllowSorting="True"
AutoGenerateColumns="false"
CellPadding="0"
CellSpacing="0"
ID="DataGrid1"
runat="server"
ShowFooter="false"
ShowHeader="true"
OnSortCommand="SortDataGrid"
BorderWidth="0"
Width="835px">
<headerstyle HorizontalAlign="center" CssClass="gridHeaderStyle" />
<alternatingitemstyle CssClass="alternateRows" />
<pagerstyle CssClass="gridPagerStyle" />
<columns>
<asp:BoundColumn DataField="Applied"
ItemStyle-Width="15px"
HeaderStyle-Width="15px"
ReadOnly="true"
Visible="True"
ItemStyle-VerticalAlign="Top">
<itemstyle ForeColor="red" />
</asp:BoundColumn>
<asp:BoundColumn DataField="Rank"
HeaderText="Rank"
ReadOnly="true"
Visible="false"
ItemStyle-VerticalAlign="Top"
SortExpression="Rank">
</asp:BoundColumn>
</columns>
</anthemataGrid>
I have the following CSS:
a:link, a:visited {
color:#CCFF33; - lime Green (just for testing)
}
..gridHeaderStyle {
color:#33FFCC;
background-color:#000000;
font-weight:bold
}
..gridHeaderStyle a:link, .gridHeaderStyle a:visited {
color:#red;
}
a.gridHeaderStyle:link, a.gridHeaderStyle:visited {
color:#red;
}
..gridPagerStyle {
background-color:red
}
No matter what I do - the links in the header that are for sorting are
showing as lime green. I am trying to get them to change to red.
The links in my site should be Lime Green (a:link and a:visited). I have
the headerstyles' CssClass set to gridHeaderStyle - but it doesn't seem to
be working for the links in the header.
Am I missing something here?
Thanks,
Tom