This is a migrated thread and some comments may be shown as answers.

Setting style for disabled hrefs

1 Answer 76 Views
Designs, skins, themes
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 23 Nov 2006, 03:04 PM
Hi,
this is not releated to the telerik controls, but maybe anyone can help:

In ASP.NET, if a linkbutton is disabled, it is rendered without a href, but with the disabled attribute, e.g:

this:

<asp:LinkButton ID="btnTest" runat="server" Text="a disabled LinkButton" Enabled="false"></asp:LinkButton>

produces the following HTML output:
<a id="btnTest" disabled="disabled">a disabled LinkButton</a>

Does anyone know if there's a way to define a style in CSS that only applies to links which are disabled (which have the disabled="disabled" attribute)?

Thanks for any help,
Martin












 

1 Answer, 1 is accepted

Sort by
0
lisah
Top achievements
Rank 1
answered on 31 Jul 2008, 07:57 PM
Anyone ever come up with anything for this?
Tags
Designs, skins, themes
Asked by
Martin
Top achievements
Rank 1
Answers by
lisah
Top achievements
Rank 1
Share this question
or