I'm trying to display some data within a select using the following code:
<select name="area" runat="server">
<asp:Repeater ID="RepeaterArea" runat="server">
<ItemTemplate>
<option value="<%# Eval('Id') %>" runat="server"><%# Eval("Area") %></option>
</ItemTemplate>
</asp:Repeater>
</select>
I get an error stating that I cannot have a repeater inside a HTMLSelect.
Any suggestions would be very welcome, thanks!