1: <%@ Register TagPrefix="uc1" TagName="SearchControl" Src="SearchControl.ascx" %>
2: <%@ Register TagPrefix="uc1" TagName="EasySearchResults_Repeater" Src="EasySearchResults_Repeater.ascx" %>
3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
4: <HTML>
5: <HEAD>
6: <title>EasySearch Sample 2 :: Paged DataGrid Results</title>
7: <link rel="stylesheet" href="easysearch.css" type="text/css">
8: </HEAD>
9: <body marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0"
10: bgcolor="#ffffff">
11: <form runat="server" ID="SearchForm">
12: <P>Sample 3 :: This EasySearch sample is identical to sample 1, with the change from a
13: DataGrid control to a Repeater control.</P>
14: <P>
15: <uc1:SearchControl
16: id="SearchControl"
17: ResultsPageUrl="~/EasySearch/Sample3.aspx?Search={0}"
18: IncludeEnterPostBack="true"
19: runat="server" /></P>
20: <P>Notice the </P>
21: <h1>Results</h1>
22: <uc1:EasySearchResults_Repeater
23: id="EasySearchResults_Repeater1"
24: runat="server" />
25: </form>
26: </body>
27: </HTML>
Sample 3 uses a Repeater Control, where Samples 1 and 2 use a DataGrid control. EasySearch is very flexible. If you look at the setup of the EasySearchResults user controls, you'll find they both inherit from EasySearchModule.SearchResults. This object actually returns data in a DataTable, and we simply bind the DataGrid or Repeater for you.
There is nothing stopping you from binding this SearchResults to your own controls.