AI OnAI Off
public override void CreateChildControls(string renderType, System.Web.UI.Control container)
{
switch( renderType.ToLower() )
{
case "edit":
TextBox inputTextBox = new TextBox();
inputTextBox.TextMode = TextBoxMode.MultiLine;
inputTextBox.Rows = 5;
inputTextBox.Columns = 50;
inputTextBox.MaxLength = 255;
inputTextBox.Text = this.String;
CopyWebAttributes( container, inputTextBox);
container.Controls.Add(inputTextBox);
container.Controls.Add(CreateParseValidator(inputTextBox));
break;
default:
base.CreateChildControls( renderType, container );
break;
}
}
--Jeremy