title: VB.Net Search Check Box List
body: <p>I have a checkbox list containing the entries from my database. I also have a search bar at the top of the page. How can I search for a checkbox using the search bar. What I am doing now is not returning anything to screen, it just remains at the same screen. My checkbox list id is check1 and my search bar id is search. So on click of my search button I run the following code:</p>
  
  <pre><code>check1.Items.FindByText(searchText.Text)
  </code></pre>
  
  <p>ASP:</p>
  
  <pre><code>&lt;asp:TextBox ID="searchText" placeholder="Search For Customer:" AutoPostBack="true" TextAlign="Right" runat="server" Width="448px"&gt;&lt;/asp:TextBox&gt;
  &lt;asp:Button ID="search" runat="server" text="Search" /&gt;
  </code></pre>
  
  <p>What's wrong here? Thanks</p>