protected TextBox RenderTextBox(ControlStruct cs)
{
TextBox textBox = new TextBox();
if (cs != null)
{
textBox.ID = "txt" + cs.Name;
textBox.CssClass = ControlCellStyle.CssClass;
textBox.TextMode = TextBoxMode.SingleLine;
textBox.Wrap = true;
textBox.Enabled = cs.Enabled;
textBox.Width = Unit.Percentage(cs.Width);
//textBox.Attributes["Width"] = "100%";
}
return textBox;
}