Skip to content

Fill up accordion panels with related items #1035

Description

@itg-assistant

Orel Gabay asked 2017-08-20 21:39:30 UTC

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions