title: jquery auto complete textbox is not working with update panel using ASP.NET
body: <p>Unable to get result Update panel is updated once jquery unloaded how to reload again. How to overcome the jquery with update panel</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="TPAppl.WebForm1" %&gt;
  
  &lt;!doctype html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
        &lt;meta charset="utf-8"&gt;
        &lt;title&gt;jQuery UI Autocomplete - Custom data and display&lt;/title&gt;
          &lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"&gt;
        &lt;script src="http://code.jquery.com/jquery-1.11.2.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"&gt;&lt;/script&gt;
  
  
       &lt;script type="text/javascript"&gt;
      $(function () {
          initializer();
      });
  
  
      var prmInstance = Sys.WebForms.PageRequestManager.getInstance();
  
  
      prmInstance.add_endRequest(function () {
          //you need to re-bind your jquery events here
          initializer();
      });
      function initializer() {
          var projects = [
  { "label": "AN-01", "actor": "Port Blair " },
  { "label": "AN-02", "actor": "Car Nicobar " }
          ];
  
          $("#lstRTO").autocomplete({
              source: projects,
              select: function (event, ui) {
                  $("#lstRTO").val(ui.item.label);
                  return false;
              }
          })
          .autocomplete("instance")._renderItem = function (ul, item) {
              return $("&lt;li&gt;")
                .append("&lt;a&gt;&lt;strong&gt;" + item.label + "&lt;/strong&gt; / " + item.actor + "&lt;/a&gt;")
                .appendTo(ul);
          };
  
  
      }
  
  
  &lt;/script&gt;
  &lt;/head&gt;
   &lt;body runat="server"&gt;
        &lt;form runat="server"&gt;
         &lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt;     &lt;/asp:ScriptManager&gt;
           &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server"&gt;
                &lt;ContentTemplate&gt;
                 &lt;asp:TextBox ID="TextBox1" AutoPostBack="true"  runat="server" OnTextChanged="TextBox1_TextChanged"&gt;&lt;/asp:TextBox&gt;
                &lt;input id="lstRTO"&gt;
            &lt;/ContentTemplate&gt;
         &lt;/asp:UpdatePanel&gt;
     &lt;/form&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>C# Code Like</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.UI;
  using System.Web.UI.WebControls;
  
  namespace TPAppl
  {
      public partial class WebForm1 : System.Web.UI.Page
      {
          protected void Page_Load(object sender, EventArgs e)
          {
  
          }
  
          protected void TextBox1_TextChanged(object sender, EventArgs e)
          {
              TextBox1.Text = TextBox1.Text+"123";
          }
      }
  }
  </code></pre>