Help!

Sep 7, 2010 at 3:39 PM

Hi!

 

I'm starting do use this amazing framework and i don't know how to do some dinamyc functionallity.

I've this code:

 

for (int i = 1; i < 5; i++)
                {
                    AccordionPane panel = new AccordionPane();
                    panel.Title = "Modulo " + i.ToString();
                    panel.Layout = Layout.Fit;
                    panel.Expanded = true;
                    panel.ShowBorder = true;
                    panel.AutoWidth = true;


                    Tree treeMenu = new Tree();
                    treeMenu.DataSource = XmlDataSource1;
                    treeMenu.DataBind();
                    treeMenu.EnableArrows = true;
                    treeMenu.ShowBorder = false;
                    treeMenu.ShowHeader = false;
                    treeMenu.AutoScroll = true;
                    //treeMenu.
                    //treeMenu.no

                    panel.Items.Add(treeMenu);

                    Accordion1.Panes.Add(panel);
                }

 

I want that on every tree node click, open a tab (or existing tab) in my TabStrip control

Can anyone help me?

Thanks a lot!

 

 

Sep 15, 2010 at 6:50 PM

anyone???!!!