Programmatically Setting Text of Validation Control
<p>I have following validator control.  How can we set the <code>color</code> of <code>Text</code> of this control from code behind?</p>

<p>Note: Text of the control is <code>*</code> as shown in the code below.</p>

<p><strong>CODE</strong></p>

<pre><code>&lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"&gt;
&lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
&lt;asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="RequiredFieldValidator"
    Text="*" ControlToValidate="TextBox1"&gt;&lt;/asp:RequiredFieldValidator&gt;
&lt;/asp:RequiredFieldValidator&gt;
&lt;asp:Button ID="Button1" runat="server" Text="Button" /&gt;
</code></pre>

<p></p>
