Eduardo Lorenzo
Well-known member
- Joined
- Jun 27, 2006
- Messages
- 86
Hi guys, am having some small problems with an Ajax accordion control. Here is the code I use to populate the items
but the items when displayed are not on top of each other but beside each other.
Any inputs?
Code:
for (paneCounter = 0; paneCounter < navMgr.MainNodeList[headerCounter].ChildList.Count - 1; paneCounter++)
{
PanelItem = navMgr.MainNodeList[headerCounter].ChildList[paneCounter].Text;
HyperLink lContent = new HyperLink();
lContent.NavigateUrl = "~/Families/default.aspx?family=" + PanelItem;
lContent.Text = PanelItem;
myPane.ContentContainer.Controls.AddAt(paneCounter, lContent);
}
but the items when displayed are not on top of each other but beside each other.
Any inputs?