E
Earl Teigrob
I have a property set in my templated custom control as follows
public System.Drawing.Color tableColor;
public System.Drawing.Color TableColor
{
set
{
tableColor = value;
}
get
{
return tableColor;
}
}
In my Page Code, I would like to set the property to the color I want, Like
this (Except using code that works)
<cc:SpacerControl id="SpacerControl1"
TableColor="System.Drawing.Color.Red" runat="server">
<ItemTemplate>
Spacer Control
</ItemTemplate>
</cc:SpacerControl>
Is this possible???
Thanks
Earl
public System.Drawing.Color tableColor;
public System.Drawing.Color TableColor
{
set
{
tableColor = value;
}
get
{
return tableColor;
}
}
In my Page Code, I would like to set the property to the color I want, Like
this (Except using code that works)
<cc:SpacerControl id="SpacerControl1"
TableColor="System.Drawing.Color.Red" runat="server">
<ItemTemplate>
Spacer Control
</ItemTemplate>
</cc:SpacerControl>
Is this possible???
Thanks
Earl