Description: The Header user control displays a list of four navigation icons: Login, Account History, Shopping Cart, and Services. It also contains the Search form.
Implementation Notes: The Header control is used at the top of each page within the Adventure Works Cycles application.
This user control contains only standard html content. There is no server code -- or any server controls -- present within it.
Search Form: The Search functionality is implemented in two parts. The UI for getting the search string is implemented as an HTML form within the Header user control. The form contains a text input field (<input type="text">) , and an image button (<input type="image">) that, when clicked, causes the form to be submitted. This simple form posts to SearchResults.aspx, which does the actual work of searching the database and displaying the results.