That'll do it! Thanks
Ale
----- Mark Fitzpatrick wrote: ----
Make sure that you have the system.drawing namespace imported first. The
you can use th
System.Drawing.Color.FromArgb() method to get the correct color like so
WebCtl.BackColor = System.Drawing.Color.FromArgb(255,238,34)
Hope this helps
Mark Fitzpatric
Microsoft MVP - FrontPag
"Alex Maghen" <al**@maghen.com> wrote in messag
news:9D**********************************@microsof t.com..
I'm having trouble figuring out which objects and what syntax to use t
set Web Control Colors using RGB values from Code-Behind
Let's say I have a control WebCtl and I want to set it's BackColor t
"#ffee22" dynamically in CS code. I can't find a color object that I use. I
it this COlorConverter class? I'm confused about how to use it WebCtl.BackColor = ???
Thanks
Ale