用上面的render函数根本就找不到table
protected override void Render(HtmlTextWriter writer)
{
Table _columnFooter = this.FpSpread1.FindControl("FpSpread1_cft") as Table;
if (_columnFooter == null)
base.Render(writer);
return;
for (int i = 0; i < _columnFooter.Rows.Count; i++)
{
_columnFooter.Rows.BorderStyle = BorderStyle.Solid;
_columnFooter.Rows.BorderWidth = 1;
_columnFooter.Rows.BorderColor = System.Drawing.Color.Gray;
}
base.Render(writer);
} |