c# and ASP.NET
When setting a SkinID which contains a property such as BackColor:
TableCell thisCell = new TableCell;
thisCell.SkinID = "redSkin";
...If I attempt to access the property after this:
Color cellColor = thisCell.BackColor;
...cellColor is null. I'm assuming that either the SkinIDs are applied over and above the basic properties of controls so are disconnected, or the Skin is applied at a seperate time when rendering the page. Is there any way to access this BackColor value?
Any help appreciated,
Steve
When setting a SkinID which contains a property such as BackColor:
TableCell thisCell = new TableCell;
thisCell.SkinID = "redSkin";
...If I attempt to access the property after this:
Color cellColor = thisCell.BackColor;
...cellColor is null. I'm assuming that either the SkinIDs are applied over and above the basic properties of controls so are disconnected, or the Skin is applied at a seperate time when rendering the page. Is there any way to access this BackColor value?
Any help appreciated,
Steve