What is the right way to do this in a datarepeater control?
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<strong><%= Eval("FullName") %></strong><br />
<p>
<%= Eval("Summary") %>
</p>
</ItemTemplate>
</asp:Repeater>
Getting error Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.
I'd like to just write out the FullName and Summary. But I don't want to nest subcontrols. Is Repsonse.Write the best way?
UPDATE: Not sure if this is necessary, but the only way I was able to solve it was with controls