title: Container.ItemIndex doesn't work Inside an attribute
body: <p>I am using an ASP repeater control to output a list to the visitor.</p>
  
  <p>I want to have a delete link that will remove the item from the list using a function "Remove" in my codebehind.</p>
  
  <p>To get this to work I need to pass the Container.ItemIndex value as an arguement, but I can't for the life of me get it to work.</p>
  
  <p>I tried this code:</p>
  
  <pre><code>&lt;asp:LinkButton ID="Remove" runat="server" OnCommand="Remove" CommandName="Remove" CommandArgument="&lt;%# Container.ItemIndex %&gt;" &gt;Delete&lt;/asp:LinkButton&gt;
  </code></pre>
  
  <p>But when I try to insert <code>Container.ItemIndex</code> into <code>CommandArgument</code> it does not work.</p>
  
  <p>I'm baffled and have hit a dead end. Can anyone see what I am trying to do and help me?</p>