URGENT !!!!!!!!How to set color to acheckbox dynamically in asp.net

Discussion in 'ASP .Net' started by Sileesh, Jan 13, 2004.

  1. Sileesh

    Sileesh Guest

    Hi All

    Can anyone out there help me with some code of how to set
    color to acheck box (HTMLINPUTCHECKBOX)dynamicall based on
    a value.

    Thx in Advance
    Sileesh, Jan 13, 2004
    1. Advertisements

  2. Sileesh

    Guest Guest

    You can set the background color by creating a style

    chkbox.Attributes.Add("style", "background-
    Guest, Jan 13, 2004
    1. Advertisements

  3. I noticed your post went unanswered. Have you resolved this issue?
    Alvin Bruney [MVP], Feb 4, 2004
  4. Maybe it was so URGENT !!!!!!!! that people thought it was too late?

    (I always wonder how marking a message urgent will get a faster response.)

    Ken Cox [Microsoft MVP], Feb 4, 2004
  5. well it was apparently soooooo urgent that he couldn't wait for a reply :)

    Alvin Bruney [ASP.NET MVP]
    Got tidbits? Get it here...
    Alvin Bruney [MVP], Feb 4, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.