how to change supports disabled attribute to true in c#
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8521688/disabled-button-with-a-alert-is-clickable-in-ie8-browser-compatibility-issue-in">Disabled button with a alert is clickable in IE8 (browser compatibility Issue in Asp.net website)</a>  </p>
</blockquote>



<p><img src="http://i.stack.imgur.com/IMO1S.png" alt="enter image description here"></p>

<pre><code>   &lt;asp:LinkButton ID="lnk_DeleteUser" ToolTip="Delete User" runat="server" OnClientClick="return confirm('Are you sure you want to delete this User?')"&gt;
                                    &lt;asp:ImageButton ID="Img_del" src="Styles/Images/icon_delete.png" OnClick="imgbtn_UserDeleteClick"
                                        runat="server" Style="border-style: none" alt="Delete User" /&gt;&lt;/asp:LinkButton&gt;
</code></pre>

<p>I want to disable the link button and image button for certain condition, but I am not able to disable the link button because when debugging I found the supports disabled attribute is false. because of that in IE8 the image is disable but the link button is not disabled and I am able to get the confirm popup. </p>

<p>this is the source code from browser</p>

<pre><code>&lt;a onclick="return confirm(&amp;#39;Are you sure you want to delete this User?&amp;#39;);"  id="ctl00_MainContent_UserTable_ctl02_lnk_DeleteUser" title="Delete User"  class="aspNetDisabled"&gt;&lt;input type="image" name="ctl00$MainContent$UserTable$ctl02 $Img_del" id="ctl00_MainContent_UserTable_ctl02_Img_del" disabled="disabled"  title="You don&amp;#39;t have permission to delete users" class="aspNetDisabled"  src="Styles/Images/icon_delete.png" alt="Delete User" src=""  style="border-style: none" /&gt;&lt;/a&gt;
</code></pre>
