Experimenting with a basic User Control in Visual Studio 2008: I've created a Panel called Wrapper
with various controls inside. Will Visual Studio be able to handle this during the design phase?
public partial class TestControl : System.Web.UI.UserControl
{
[Description("Css class of the div around the control.")]
[CssClassProperty]
public string CssClass
{
get { return Wrapper.CssClass; }
set { Wrapper.CssClass = value; }
}
}
Despite setting the CssClass property, the css for the Panel does not update at design time. Is my expectation too high?