Hi,
I am trying to add dynamically tab page and controls in UltraTabControl. The dynamic controls are not displaying tab page(tabControlPage).
here is the code
UltraTab tab1 = new UltraTab();
UltraTabPageControl tab1Control = new UltraTabPageControl();
tab1.TabPage = tab1Control;
tab1.Text ="TAB1";
tab1.Active =true;
Panel pnl = new Panel();
Button btn = new Button();
btn.Name ="1";
btn.Text ="Hai";
pnl.Controls.Add(btn);
Button btn2 = new Button();
btn2.Name ="2";
tab1Control.Controls.Add(btn2);
this.ultraTabControl1.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab
[] {tab1});
please help me
HI vinod
I m vb.net developer and i add image on ultratabcontrol in this way i hope that will be helpful to you
http://ahmadkhalid44.blogspot.com/2013/05/how-to-add-imageicon-in-ultratool.html
Regards:
Ahmad Khalid
Software Engineer