A
Arthur Dent
Hello all...
Im seeing something strange. I have a repeater control which has a
footertemplate.
The content in the footertemplate however is showing up at the TOP of the
repeater contents.
Shouldn't a footer be at the BOTTOM?
I thought maybe it was because i did not have a headertemplate defined, so i
added one of those, but that didnt help either.
The footer content still show up at the top.
My repeater code is at the bottom of this post.
Thanks in advance,
Arthur Dent.
==============================================
<asp:repeater id="rptPrds" runat="server">
<itemtemplate>
<tr>
<td class="nmlPrdLst" onmouseover="this.className='hvrPrdLst'"
onmouseout="this.className='nmlPrdLst'">
<table width="100%">
<tr>
<td valign="top" style="padding-right: 25px;" rowspan="2">
<asp:hyperlink id="lnkProduct" runat="server" navigateurl='<%#
AppRoot & "catalog.aspx?cid=" & DataBinder.Eval(Container.DataItem,
"ROWID")%>' borderstyle="None">
<asp:image id="imgPrd" runat="server" width="75px" imageurl='<%#
ImageRoot & "catalog/" &
DataBinder.Eval(Container.DataItem,"IMGS")%>'></asp:image>
</asp:hyperlink>
</td>
<td width="100%" valign="top" align="left">
<asp:label id="lblPrdName" runat="server" font-bold="True" text='<%#
DataBinder.Eval(Container.DataItem, "NAME")%>'></asp:label><br>
<br>
<asp:label id="lblMfgpn" runat="server" font-italic="True" text='<%#
"Our Part No. <b>" & DataBinder.Eval(Container.DataItem, "MFGPN") &
"</b>"%>'></asp:label><br>
<br>
<asp:label id="lblPrdDiscount" runat="server" forecolor="Red"
font-italic="True" font-bold="True" text='<%#
DataBinder.Eval(Container.DataItem, "DISCOUNTPCT") & " OFF!"%>'></asp:label>
</td>
</tr>
</table>
</td>
</tr>
</itemtemplate>
<footertemplate>
<asp:label id="lblIncludesPrices" runat="server" font-italic="true"
font-size="7pt">All prices include sale discounts where
applicable.</asp:label>
</footertemplate>
</asp:repeater>
Im seeing something strange. I have a repeater control which has a
footertemplate.
The content in the footertemplate however is showing up at the TOP of the
repeater contents.
Shouldn't a footer be at the BOTTOM?
I thought maybe it was because i did not have a headertemplate defined, so i
added one of those, but that didnt help either.
The footer content still show up at the top.
My repeater code is at the bottom of this post.
Thanks in advance,
Arthur Dent.
==============================================
<asp:repeater id="rptPrds" runat="server">
<itemtemplate>
<tr>
<td class="nmlPrdLst" onmouseover="this.className='hvrPrdLst'"
onmouseout="this.className='nmlPrdLst'">
<table width="100%">
<tr>
<td valign="top" style="padding-right: 25px;" rowspan="2">
<asp:hyperlink id="lnkProduct" runat="server" navigateurl='<%#
AppRoot & "catalog.aspx?cid=" & DataBinder.Eval(Container.DataItem,
"ROWID")%>' borderstyle="None">
<asp:image id="imgPrd" runat="server" width="75px" imageurl='<%#
ImageRoot & "catalog/" &
DataBinder.Eval(Container.DataItem,"IMGS")%>'></asp:image>
</asp:hyperlink>
</td>
<td width="100%" valign="top" align="left">
<asp:label id="lblPrdName" runat="server" font-bold="True" text='<%#
DataBinder.Eval(Container.DataItem, "NAME")%>'></asp:label><br>
<br>
<asp:label id="lblMfgpn" runat="server" font-italic="True" text='<%#
"Our Part No. <b>" & DataBinder.Eval(Container.DataItem, "MFGPN") &
"</b>"%>'></asp:label><br>
<br>
<asp:label id="lblPrdDiscount" runat="server" forecolor="Red"
font-italic="True" font-bold="True" text='<%#
DataBinder.Eval(Container.DataItem, "DISCOUNTPCT") & " OFF!"%>'></asp:label>
</td>
</tr>
</table>
</td>
</tr>
</itemtemplate>
<footertemplate>
<asp:label id="lblIncludesPrices" runat="server" font-italic="true"
font-size="7pt">All prices include sale discounts where
applicable.</asp:label>
</footertemplate>
</asp:repeater>