Dynamically add attribute for radiobutton
<p>I have a usercontrol with 3 radiobuttons and textbox. If RB1 is selected, I will display the textbox. For the remaining two options, I will hide the textbox.</p>

<pre><code>    &lt;asp:RadioButton ID="rbAPL" runat="server" Checked="true" CssClass="tablecelldata"
                GroupName="ServiceType" Text="Testing of Animal Pathogens &amp; Veterinary Biologics" /&gt;&lt;br /&gt;
    &lt;asp:RadioButton ID="rbVPHL" runat="server" CssClass="tablecelldata" GroupName="ServiceType"
                Text="Food Testing and Export Health Certification (Veterinary Health Certificate for Meat, Fish &amp; Dairy Products)"  /&gt;&lt;br /&gt;
    &lt;asp:RadioButton ID="rbPHL" runat="server" CssClass="tablecelldata" GroupName="ServiceType"
                Text="Plant Health Diagnosis Services" /&gt;
</code></pre>

<p>And the textbox</p>

<pre><code>    &lt;asp:TextBox ID="tbxApplicationRefNo" runat="server" Width="350px"&gt;&lt;/asp:TextBox&gt;
</code></pre>

<p>I want to dynamically set the attributes of radiobuttons to show or hide the textbox. How can I do so?</p>

<p>Thanks in advance for your reply!</p>
