Disable a button (in a data list) after a single click by user
<p>I want to disable the button that is contained in a data list row. Is it possible to disable the button after it has been clicked once by the user? If so, can someone please suggest how I can achieve that.</p>

<pre><code>&lt;asp:DataList ID="DataList1" runat="server" DataKeyField="Qno" OnItemCommand="DataList1_OnItemCommand"
        DataSourceID="SqlDataSource1"&gt;
        &lt;ItemTemplate&gt; &lt;asp:RadioButton ID="RadioButton1" runat="server" Text='&lt;%# Eval("Ans1") %&gt;' GroupName="qu" /&gt;
            &lt;br /&gt;
            &lt;asp:RadioButton ID="RadioButton2" runat="server" Text='&lt;%# Eval("Ans2") %&gt;' GroupName="qu" /&gt; &lt;asp:Button ID="Button2" runat="server" Text="Submit" CommandName="Validate" /&gt;
            &lt;br /&gt;
        &lt;/ItemTemplate&gt;
</code></pre>

<p></p>
