Setting style for disabled hrefs

2 posts, 0 answers
  1. Martin
    Martin avatar
    199 posts
    Member since:
    Oct 2005

    Posted 23 Nov 2006 Link to this post

    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












     
  2. lisah
    lisah avatar
    4 posts
    Member since:
    Sep 2006

    Posted 31 Jul 2008 Link to this post

    Anyone ever come up with anything for this?
Back to Top