I'm listing the contents of my basket by adding fresh HTML to a panel so it lists it on the aspx page. I'm also trying to add an asp:button at the end which will allow users to remove the items, however the button isnt showing!
Code;
string sHTML = @"<div class='item_bar'>
<div class='item_id'>" + id + @"</div>
<div class='item_title'>" + name + @"</div>
<div class='item_price'>" + cost + @"</div>
<asp:Button class='button' Text='Remove' runat='server' CommandArgument='"+name+@"' OnClick='removeItem' />
</div>";
basketDiv.Controls.Add(new LiteralControl(sHTML));
thanks