Fill up accordion panels with related items

0
0

Hi!

i’m trying to understand how to fill up the accordion control with related items.

assuming i have couple of parent accordion panels i want to up fill up them with related data.

for exmaple :

Dashboard

— Reports

i tried to add to each accordion.Controls property a treeView(didn’t find other idea) but it’s not working as well.

private void FillNavigationTab(AccordionPanel ap)

{

.......

foreach (var item in rows)
{
Wisej.Web.TreeNode oNode = new Wisej.Web.TreeNode(item.Name);
oNode.Tag = item;
oNode.IsParent = true;
oNode.ShowLoader = true;
treeView.Nodes.Add(oNode);

ap.Controls.Add(treeView);

}

still not working

thanks for your help!

Orel

  • You must to post comments
0
0

work! thanks

  • You must to post comments
0
0

Maybe you didn’t set the size of the child tree view? See attached example an screen grabs.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.