title: Repeater Item command creating post back  with Update Panel
body: <p>I have update panel in that I have repeater control with linkbutton which are having command property</p>
  
  <p>I have tried both ItemCommand event or link button click both are creating postbacks</p>
  
  <p>Here the code for that</p>
  
  <pre><code>&lt;asp:UpdatePanel ID="upFC" runat="server" UpdateMode="Always" ChildrenAsTriggers="true"&gt;
          &lt;ContentTemplate&gt;
       &lt;asp:Repeater ID="rptFCItem" runat="server" OnItemDataBound="rptFCItem_ItemDataBound" OnItemCommand="rptFCItem_ItemCommand" EnableViewState="true"&gt;
                      &lt;ItemTemplate&gt;
                          &lt;asp:LinkButton ID="lnkElement" runat="server" OnClick="lnkCurrent_Click" CommandName="Element"&gt;&lt;/asp:LinkButton&gt;
                      &lt;/ItemTemplate&gt;
                  &lt;/asp:Repeater&gt;
      &lt;/ContentTemplate&gt;
  </code></pre>
  
  <p></p>
  
  <p>and following is server side code</p>
  
  <pre><code>  protected void lnkCurrent_Click(object sender, EventArgs e)
      {
          BindFC(Element, true);
      }
  
  
   protected void rptFCItem_ItemDataBound(object sender, RepeaterItemEventArgs e)
      {
          if (e.Item.ItemIndex &gt;= 0)
          {
              LinkButton lnkElement = (LinkButton)e.Item.FindControl("lnkElement");
              if (lnkElement != null)
              {
                  lnkElement.Text = (e.Item.ItemIndex+1).ToString();
              }
          }
      }
  
  protected void rptFCItem_ItemCommand(object source, RepeaterCommandEventArgs e)
      {
         //some code here
      }
  </code></pre>
  
  <p>But neither itemcommand work or click event works with update panel async its creating full postback.</p>
  
  <p>Does any one have solution for it.</p>
  
  <p>Best Regards,</p>
  
  <p>Jalpesh</p>