T
The real Slartibartfast
Guest
Hello,
Can anyone please tell me how to adjust the font size of a TableCell object?
using (TableRow tr = new TableRow())
{
tr.Controls.Add(new TableCell()
{
Text = cells.BlobName,
//Style = { new Style(), },
Width = new Unit("50%")//,
//Style ={ HtmlTextWriterStyle.FontSize = new Unit("") }
//Font = { Size = "10px"}
});
}
I know how to force the style by embedding in the Text property, but wanted to do it via the TableCell object.
Thanks
Continue reading...
Can anyone please tell me how to adjust the font size of a TableCell object?
using (TableRow tr = new TableRow())
{
tr.Controls.Add(new TableCell()
{
Text = cells.BlobName,
//Style = { new Style(), },
Width = new Unit("50%")//,
//Style ={ HtmlTextWriterStyle.FontSize = new Unit("") }
//Font = { Size = "10px"}
});
}
I know how to force the style by embedding in the Text property, but wanted to do it via the TableCell object.
Thanks
Continue reading...