Customize Label, TextBox and RequiredFieldValidator Web Control problem on rendering
<p>I've created a customize web control with the combination of a Label, TextBox and RequiredFieldValidator. To done this, I create a class Field that inherit a Table Control.</p>

<pre><code>namespace WebHRIS.Controls
{
    public class Field : Table
    {
        private Label lblField;
        private TextBox tbField;
        private RequiredFieldValidator rfvField;
        private string _text;
        private string _invalidMessage;
        private string _clientScript;
        private string _controlID;

        public virtual string LabelText
        {
            get { return _text; }
            set { _text = value; }
        }

        public virtual string InvalidMessage
        {
            get { return _invalidMessage; }
            set { _invalidMessage = value; }
        }

        public virtual string ClientScript
        {
            get { return _clientScript; }
            set { _clientScript = value; }
        }

        public virtual string ControlID
        {
            get { return _controlID; }
            set { _controlID = value; }
        }

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            TableRow tr = new TableRow();
            TableCell tc = new TableCell();
            lblField = new Label();
            lblField.Text = _text;
            tc.Controls.Add(lblField);
            tr.Cells.Add(tc);
            tbField = new TextBox();
            tbField.ID = _controlID + this.ID;
            tc = new TableCell();
            tc.Controls.Add(tbField);
            tr.Cells.Add(tc);
            rfvField = new RequiredFieldValidator();
            rfvField.ControlToValidate = tbField.ID;
            rfvField.ErrorMessage = this.InvalidMessage;
            rfvField.EnableClientScript = (this.ClientScript.ToLower() != "false");
            tc = new TableCell();
            tc.Controls.Add(rfvField);
            tr.Cells.Add(tc);
            this.Rows.Add(tr);
        }

        protected override void Render(HtmlTextWriter writer)
        {
            base.Render(writer);
            lblField.RenderControl(writer);
        }
    }
}
</code></pre>

<p>This is how I used this control</p>

<pre><code>&lt;%@ Register TagPrefix="udc" Namespace="WebHRIS.Controls" Assembly="WebHRIS" %&gt;
&lt;udc:Field ID="fSample" runat="server" LabelText="Sample : " InvalidMessage="ErrorMessage"
                                        ClientScript="false" ControlID="tb" /&gt;
</code></pre>

<p>Note that this is only a partial code. Now, I'm having a problem like this. <img src="http://i.stack.imgur.com/ft5vp.png" alt="enter image description here"></p>

<p>I want to eliminate the 'Sample : ' text. T.I.A</p>
