i want to make a property of color for changing background color of table and div.i am trying this.
when i try to cast it ,it genarates an error while casting.
how should i?
public Color ForeColorWholeContro
l{
set
{
tableQuiz.Style.Add(HtmlTextWriterStyle.Color ,value);
}
get
{
return tableQuiz.Style.Value;
}
}
public Color BackColorWholeControl
{
set
{
tableQuiz.BgColor = value;
}
get
{
return tableQuiz.BgColor;
}
}
...
Go to the complete details ...