This is my code :
<asp:Repeater runat="server" ID="rpUbicazione">
<ItemTemplate>
<div class="Field" style="margin-bottom:20px;">
// elements
</div>
</ItemTemplate>
</asp:Repeater>
and I’d like to hide first element. So I tried changing first line with :
<asp:Repeater runat="server" ID="rpUbicazione" Visible="<%# (Container.ItemIndex != 0) %>">
but seems it doesnt works : ItemIndex it is not a method.
How can I do it?
Try this:
or you can do something like this: