title: Show button when another button is clicked
body: <p>I have a search button on a filter and when this is clicked I need to show another button. This button goes not trigger a post back so the page doesn't refresh and the button never shows. When the page first loads a bool called DelStatus gets set to true. After I click the search button, if this is true I need to show <code>btnEPODToExcel</code>. I've tried changing the style, changing the visibility and changing the display from javascript: </p>
  
  <pre><code>protected void btnSearch_Click(object sender, EventArgs e)
  {
      if (DelStatus == true)
      {
          btnEPODToExcel.Attributes.Add("style", "display:block");
          btnEPODToExcel.Visible = true;
  
          ClientScript.RegisterClientScriptBlock(this.GetType(), "Message",
                                                 "&lt;script&gt;$(document).ready(function () { ShowEPODExcel();});&lt;/script&gt;");
      }
  }
  </code></pre>
  
  <p>JavaScript:</p>
  
  <pre><code>function ShowEPODExcel()
              {
                  document.getElementById('&lt;%= btnEPODToExcel.ClientID %&gt;').style.display= "block";
                  $('#&lt;%= btnEPODToExcel.ClientID %&gt;').show();
             }
  </code></pre>
  
  <p>Button:</p>
  
  <pre><code>&lt;asp:LinkButton runat="server" ID="btnEPODToExcel" CssClass="btnToExcel" Width="100px" ToolTip="Download Result to Excel" OnClick="btnEPODToExcel_Click" Text="EPODs to Excel" /&gt;   
  </code></pre>