Author: rickep02 | Posted on: 3/10/2010 5:07:10 PM | Views : 407

I have a ImageButton in a for loop



<% foreach (var item in this.Accounts) { %> <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../Images/Delete.png" OnClick="DeleteClick" OnClientClick="return confirm_delete();" CommandArgument="<%=Item.ID %>" /> <% } %>How do I set the CommandArgument?  The above code does not work and I really cant figure out how to do this.


Thnx

...

Go to the complete details ...