Hello,
I am trying to change the color of a visited link (which is a GridButtonColumn) in a RadGrid, AND then maintain that color if the user hits the back button.
Here's my problem. When the user clicks the link (GridButtonColumn), the link changes to my specified color via my CSS and then the link takes the user to a new page. However, if the user hits the back button on the web browser, the visited link in the RadGrid resorts back to it's original color and not the visited link color. How can I maintain the visited link color when the user pages back?
My CSS:
Thanks you,
Jason
I am trying to change the color of a visited link (which is a GridButtonColumn) in a RadGrid, AND then maintain that color if the user hits the back button.
Here's my problem. When the user clicks the link (GridButtonColumn), the link changes to my specified color via my CSS and then the link takes the user to a new page. However, if the user hits the back button on the web browser, the visited link in the RadGrid resorts back to it's original color and not the visited link color. How can I maintain the visited link color when the user pages back?
My CSS:
.RadGrid
a:visited {color:Orange !important;}
My RadGrid Code:
<telerik:RadGrid ID="radgrdAssignment" AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" AllowMultiRowSelection="True" ShowStatusBar="False" PageSize="25" GridLines="None" HorizontalAlign="NotSet" runat="server"> |
<MasterTableView DataKeyNames="AssignmentID" ShowHeadersWhenNoRecords="True"> |
<Columns> |
<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn"> |
<HeaderStyle Width="30px" HorizontalAlign="Center" /> |
<ItemStyle Width="30px" HorizontalAlign="Center" /> |
</telerik:GridClientSelectColumn> |
<telerik:GridButtonColumn ButtonType="LinkButton" DataTextField="AssignmentID" SortExpression="AssignmentID" HeaderText="EvalID" UniqueName="AssignmentIDButton" CommandName="Select"> |
<ItemStyle CssClass="RadGrid" /> |
</telerik:GridButtonColumn> |
<telerik:GridBoundColumn DataField="AssignmentID" HeaderText="AssignmentID" UniqueName="AssignmentIDData" Display="False"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="ProjectName" HeaderText="Project"></telerik:GridBoundColumn> |
</Columns> |
</MasterTableView> |
<ClientSettings EnableRowHoverStyle="True"> |
<Selecting AllowRowSelect="True" /> |
</ClientSettings> |
<pagerstyle mode="NextPrevAndNumeric" AlwaysVisible="True" Position="Top" /> |
</telerik:RadGrid> |
Thanks you,
Jason