title: UpdatePanel with trigger not working in Asp.net
body: <p>My code is like this</p>
  
  <pre><code>&lt;asp:UpdatePanel ID="upAssessments" runat="server"&gt;
                  &lt;ContentTemplate&gt;
              &lt;div class="form-group"&gt;
                  &lt;label class="col-sm-2 control-label"&gt;Notes&lt;/label&gt;
                  &lt;div class="col-sm-5"&gt;
                      &lt;asp:TextBox CssClass="form-control" runat="server" ID="txtAssessmentsNotes" Height="100" TextMode="MultiLine"&gt;&lt;/asp:TextBox&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="form-group"&gt;
                  &lt;div class="col-sm-12 mgntop mgnbtm align-center"&gt;
  
                      &lt;asp:Button ID="btnAssessments" runat="server" CssClass="btn btn-primary" OnClick="btnAssessments_OnClick" Text="Update Assessments" /&gt;
                  &lt;/div&gt;
  
              &lt;/div&gt;
                      &lt;/ContentTemplate&gt;
                  &lt;Triggers&gt; 
                      &lt;asp:AsyncPostBackTrigger ControlID="btnAssessments" runat="server" EventName="Click"/&gt;
                  &lt;/Triggers&gt;
                  &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p>Code Behind</p>
  
  <pre><code> protected void btnAssessments_OnClick(object sender, EventArgs e)
      {
          try
          {
  
          }
          catch (Exception)
          {
  
              throw;
          }
  
  
      }
  </code></pre>
  
  <p>And When I click on <code>btnAssessments</code> click event is not firing. Does any one have any Idea?</p>