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

  • Thread starter Thread starter Sileesh
  • Start date Start date
S

Sileesh

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
 
You can set the background color by creating a style
attribute:

chkbox.Attributes.Add("style", "background-
color:yellow;");
 
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.)


Alvin Bruney said:
I noticed your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
You can set the background color by creating a style
attribute:

chkbox.Attributes.Add("style", "background-
color:yellow;");
 
well it was apparently soooooo urgent that he couldn't wait for a reply :-)

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Ken Cox said:
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.)


Alvin Bruney said:
I noticed your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
You can set the background color by creating a style
attribute:

chkbox.Attributes.Add("style", "background-
color:yellow;");

-----Original Message-----
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
.
 
Back
Top