471,605 Members | 1,338 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

Disabled Attribute

Hello,

Is disabled attribute available for <atag?
I am asking this because a new control in ASP.NET 3.5 is doing that.

Thanks,
Miguel
Nov 29 '07 #1
4 5146
On 29 Nov, 13:37, shapper <mdmo...@gmail.comwrote:
Is disabled attribute available for <atag?
Specification is here:
http://www.w3.org/TR/html4/struct/links.html#edef-A

and there's no "disabled" attribute. Only the user input controls
associated with <form(<input>, <selectetc.) support disabled.
I am asking this because a new control in ASP.NET 3.5 is doing that.
Then don't choose to build your projects with broken tools, like these.
Nov 29 '07 #2
shapper wrote:
Hello,

Is disabled attribute available for <atag?
No.
I am asking this because a new control in ASP.NET 3.5 is doing that.
Even earlier ASP.NET does that, I see, and it works even in Firefox. But
it isn't valid HTML and you can't count on it working everywhere: the
link may continue to be functional in some browsers.
Nov 29 '07 #3
Harlan Messinger wrote:
shapper wrote:
>Hello,

Is disabled attribute available for <atag?

No.
>I am asking this because a new control in ASP.NET 3.5 is doing that.

Even earlier ASP.NET does that, I see, and it works even in Firefox. But
it isn't valid HTML and you can't count on it working everywhere: the
link may continue to be functional in some browsers.
What does this attribute look like? Like this?

<a href="http://www.google.co.uk/" disabled="disabled">This shouldn't
work</a>.

This doesn't work (in the sense that the link works) in either IE6 or
Firefox 2, although the link does have a strange appearance in IE6.
Dec 2 '07 #4
On Dec 2, 11:21 am, Mark <u...@example.netwrote:
Harlan Messinger wrote:
shapper wrote:
Hello,
Is disabled attribute available for <atag?
No.
I am asking this because a new control in ASP.NET 3.5 is doing that.
Even earlier ASP.NET does that, I see, and it works even in Firefox. But
it isn't valid HTML and you can't count on it working everywhere: the
link may continue to be functional in some browsers.

What does this attribute look like? Like this?

<a href="http://www.google.co.uk/" disabled="disabled">This shouldn't
work</a>.

This doesn't work (in the sense that the link works) in either IE6 or
Firefox 2, although the link does have a strange appearance in IE6.
Yes, it changes the background color of the link.
This is a mess. I already reported to Microsoft.

And I got a way around. I implemented a template in Asp.Net.

Thanks,
Miguel
Dec 2 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by bart plessers | last post: by
1 post views Thread by Stewart Cambridge London, UK | last post: by
5 posts views Thread by acord | last post: by
6 posts views Thread by tshad | last post: by
3 posts views Thread by BrendanMcPherson | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.