The keyword search functionality in the Commerce Server 2002 International Retail Site takes an entirely different approach, using ASP.NET classes and the Commerce Server Base Class Libraries (BCL). Our examination begins with the page SearchResults.aspx and its associated codebehind file SearchResults.aspx.vb. The layout of the search result page is specified by the HTML in the file SearchResults.aspx, and consists of a form with several embedded tables. Near the bottom of the page, and ASP.NET DataGrid control is defined to display the results of the search and is given the ID "searchResults". This control has the search results bound to it at the end of the routine PerformSearch.
Previous Next |