Following upgrade to 2005 beta 2, code that was previously fine is now producing an error:
Label errorLabel = new Label();
errorLabel.EnsureID();
"-> System.Web.UI.Control.EnsureID() is inaccessible due to its protection level"
Firstly - what is the change, I can't seem to find...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.