B
Brent
It's curious. In my page the code ...
TextBox t = (TextBox)Page.FindControl(mycontrol);
if (!(t==null))
{
t.Visible = false;
}
....will hide the control. But the code...
TextBox t = (TextBox)Page.FindControl(mycontrol);
if (!(t==null))
{
t.BackColor = System.Drawing.Color.DarkRed;
}
....won't change the color.
I'd sure appreciate any tips on how to fix this behavior!
Thanks!
--Brent
TextBox t = (TextBox)Page.FindControl(mycontrol);
if (!(t==null))
{
t.Visible = false;
}
....will hide the control. But the code...
TextBox t = (TextBox)Page.FindControl(mycontrol);
if (!(t==null))
{
t.BackColor = System.Drawing.Color.DarkRed;
}
....won't change the color.
I'd sure appreciate any tips on how to fix this behavior!
Thanks!
--Brent