How to enable button?
<p>On page load using javascript, I disable the button.</p>

<p>That is</p>

<pre><code>protected void Page_Load(object sender, EventArgs e){
{
  btnExcel.Attributes.Add("onclick", " this.disabled = true; " +  
  ClientScript.GetPostBackEventReference(btnExcel, null) + ";");     
}
</code></pre>

<p>Now, I want is to enable the button control</p>

<pre><code>protected void btnExcel_Click(object sender, EventArgs e)
{
    1.  Rpt.ExportToHttpResponse(ExportFormatType.Excel, Response, true, "Project Summary Report");

    2.  btnexcel.enable=true;
}
</code></pre>

<p>After executing 1 statement on the <code>btn_click</code> event,</p>

<p>why 2 statement is not executed?</p>

<p>If 2 statement not executed then my button control not enable?</p>
