Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > LinkButton disabled color

Reply
Thread Tools

LinkButton disabled color

 
 
tshad
Guest
Posts: n/a
 
      08-03-2005
If you set a Linkbutton to enabled=false, it will show as grey.

Is there a way to make it show as a different color when disabled?

Thanks,

Tom


 
Reply With Quote
 
 
 
 
Stefan
Guest
Posts: n/a
 
      08-04-2005
You will need to use CSS to do that (see e.g.
http://www.codingforums.com/archive/...hp/t-446.html),
e.g.

button[disabled] {display: none}

Works in CSS2 compliant browsers only though.

 
Reply With Quote
 
 
 
 
tshad
Guest
Posts: n/a
 
      08-04-2005
"Stefan" <> wrote in message
news: ups.com...
> You will need to use CSS to do that (see e.g.
> http://www.codingforums.com/archive/...hp/t-446.html),
> e.g.
>
> button[disabled] {display: none}
>
> Works in CSS2 compliant browsers only though.


That won't work for me then, as I IE would be the predominant browser.

Thanks,

Tom


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing font color from current font color to black color Kamaljeet Saini Ruby 0 02-13-2009 04:58 PM
How do you set the forecolor of a disabled linkbutton? Allan Ebdrup ASP .Net 6 07-11-2007 11:41 AM
Linkbutton does not look like a linkbutton Sathyaish ASP .Net 3 09-08-2005 09:41 AM
Linkbutton does not look like a linkbutton Sathyaish ASP .Net Datagrid Control 1 09-08-2005 08:44 AM
Change Color of LinkButton Robert E. Flaherty ASP .Net Datagrid Control 4 07-20-2005 01:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57