title: Ajax autocomplete extender and get ID of selected item?
body: <p>I am using the autocomplete extender to suggest names when a user types. How to get the select value after the user selects an item? I guess I can use onclientitemselected but I am not familiar on how to write this? I need to populate a textbox based on the selection in the autocompleteextender textbox. Thank you</p>
  
  <pre><code> &lt;asp:TextBox ID="TextBox1" runat="server" Height="27px" Width="570px"&gt;&lt;/asp:TextBox&gt;
          &lt;asp:AutoCompleteExtender ID="AutoCompleteExtender" runat="server" 
      DelimiterCharacters="" Enabled="True" ServicePath="AutoComplete.asmx"  
      ServiceMethod="GetCompletionList" TargetControlID="TextBox1" 
      MinimumPrefixLength="2" UseContextKey="true" ContextKey="StateDropDown" 
              CompletionListElementID="autocompleteDropDownPanel"&gt;
  &lt;/asp:AutoCompleteExtender&gt;
  </code></pre>