Following is the syntax of EasySearch\SearchControl.ascx. Notice that there are three input controls. The Textbox for search input, an ImageButton, and a LinkButton. Either of the Button controls can be removed, but one of them need to stay in tact, in order for the search to get submitted back to the server.
This SearchControl is responsible for two actions. First -- Redirect the user to the appropriate search results page, and second, show the live hints.
The one thing to remember about this user control is that the controls to decide to use, the ID="" values have to remain unchanged. This is so the EasySearchModule knows what controls you've decided to use. If you change the ID="" values, it's the same as removing the controls, and EasySearchModule will not work the renamed controls.
1: <%@ Control Language="c#" AutoEventWireup="false" Inherits="EasySearchModule.SearchControl" %>
2: <asp:Label
3: ID="EasySearchMessageLabel"
4: Runat="server" />
5: <asp:TextBox
6: ID="EasySearchTextBox"
7: Width="150px"
8: Visible="True"
9: autocomplete="off"
10: runat="server" />
11: <asp:ImageButton
12: ID="EasySearchImageLinkButton"
13: Visible="True"
14: ImageUrl="GoSearch.gif"
15: Runat="server" />
16: <asp:LinkButton
17: ID="EasySearchLinkButton"
18: Visible="True"
19: runat="server">Go</asp:LinkButton>
20: <br>
21: <div id="results"></div>
22: