Ask a Question related to ASP.NET General, Design and Development.
-
Leo Duran #1
Re: Can a disabled checkbox have a color other than gray?
Bummer, I was hoping there was a ReadOnly property for the checkbox.
However, if you are just wanting to display the checked status or not, you
could always use a picture that indicates a checked state, and one that
indicates an unchecked state and just show whichever is appropriate. This
would be much easier then trying to make the checkbox control emulate this
behavior.
To make the checkbox behave the way you are thinking and trapping the event
you would involve writing client side script.
"Mike Lerch"
<mlerchNOSPAMTHANKS@nycap.rr.com> wrote in message
news:am62jv4gs98kjkmpg4cosvn1i94iskl5ls@4ax.com...> I have a databound webform that is suitable for printing by the
> client. However, I want to keep them from "editing" the data
> ("editing" because it's not getting posted back to the database or
> anything). My thought was to set enabled = "false" on all the
> checkboxes and the handful of checkboxes on the form. However, this
> turns everything gray. Using CSS or strong-naming styles doesn't seem
> to help. In fact, it seems that it might be a function of IE: when
> IEsees disabled="disabled" in the HTML, it seems that it might be IE
> that is changing the color to gray, even though I want it to remain
> black.
>
> So, any thoughts? My goal is to keep users from changing the values
> of checkboxes and textboxes in a web form while having control over
> the styles (essentially making them look like they're enabled).
>
> The only thing I came up with off the bat is making some kind of event
> that traps when the user tries to change something. I can do that,
> but it seems like there should be an easier way!
>
> Lerch
Leo Duran Guest
-
changing gray workspace color
does anyone know how to change the gray workspace color (not the canvas color). i'm working on some images that are very close to the gray workspace... -
Disabled Flash Form CFINPUT control won't gray out
The description in the documentation for the "enabled" attribute of a CFINPUT tag says, "A disabled control appears in light gray." However, this... -
Gray Scale Pictures To Color
Is there a Way I can make a color picture into only 1 Color. Do I have to make it Gray Scale 1st? Anyway, I would appreciate any help there is for... -
how to I change gray line drawing into color?
how to I change gray line drawing into color? Thanks -
Problem: All of my blues show up as a teal/blue/gray color on the color picker.
Problem: All of my blues show up as a teal/blue/gray color on the color picker. Im running the web graphics defaults and have tried uninstalling...



Reply With Quote

