I have a UL list in a ASPX page:
You need to mark your ul as a server side control, then treat the 'new item' as a HtmlGenericControl and insert it into the control collection:
To add the item, create a new element and add it:
HtmlGenericControl li = new HtmlGenericControl("li");
tabs.Controls.Add(li);
HtmlGenericControl anchor = new HtmlGenericControl("a");
anchor.Attributes.Add("href", "page.htm");
anchor.InnerText = "TabX";
li.Controls.Add(anchor);