David Smith

David Smith

  • NA
  • 2k
  • 0

UltraTree Help

Jan 28 2011 7:33 PM
I have three UltraTabs.

Im trying to dynamically add a Ultra tree to each tabpagecontrol or tabcontrol, can someone help me

             foreach (string p in programs)   // Keep in mind there are a total 3 programs, each program is going to have its own Ultratree via each tab. Each program has it own tab already
            {
                 this.ultraTree = new UltraTree();
                this.ultraTabControl.Controls.Add(ultraTabPageControl);
                ultraTree.Dock = DockStyle.Left;
                this.ultraTree.Name = p;
                this.ultraTabPageControl.Controls.Add(ultraTree);
               
            }
 
            for some odd reason the  after executing this snippet code, it adds another tab with the Ultratree and not add to the 3tabs that already exists