<%@ Control Language="c#" AutoEventWireup="false" Codebehind="AlsoBought.ascx.cs" Inherits="Xpdt.Commerce.AlsoBought" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%--
        This user controls lists other products that
        customers who purchased a product "also bought".
--%>
<table width="95%" cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td>
			<asp:Repeater ID="alsoBoughtList" runat="server">
				<HeaderTemplate>
					<tr>
						<td class="MostPopularHead">
							&nbsp;Customers who bought this also bought
						</td>
					</tr>
				</HeaderTemplate>
				<ItemTemplate>
					<tr class="MostPopularItemText">
						<td class="MostPopularItemText" >
							&nbsp;
							<asp:HyperLink  NavigateUrl='<%# "ProductDetails.aspx?ProductID=" + DataBinder.Eval(Container.DataItem, "ProductID")%>' Text='<%#DataBinder.Eval(Container.DataItem, "ModelName")%>' runat="server" ID="Hyperlink1" NAME="Hyperlink1" CssClass="MostPopularItemText"/>
							<br>
						</td>
					</tr>
				</ItemTemplate>
				<FooterTemplate>
					<tr>
						<td >
							&nbsp;
						</td>
					</tr>
				</FooterTemplate>
			</asp:Repeater>
		</td>
	</tr>
</table>
