ASP Repeater Evals mixed with HTML
- by Bry4n
I want to include HTML and Eval within a Repeater:
<asp:Repeater ID="Rpt" runat="server" DataSourceID="DS">
<HeaderTemplate><div id="gallery"></HeaderTemplate>
<ItemTemplate>
<a href='<%# Eval("Url") %>' class="show">
<img src='<%# Eval("Image") %>' alt='<%# Eval("Title") %>' title="" runat="server" id="sb1"
rel='<%# Eval("Title") %>'/></a>
</ItemTemplate>
<FooterTemplate></FooterTemplate>
</asp:Repeater>
I want the rel attribute Eval Title to have h3 tags wrapped around it. I've done this before, but I'm drawing a huge blank