Y
Yalaman
Tying to create Dynamic tab strip and Multipage using webcontols .
Not able to wire the event selectedindexchanged event to tabstrip any
sample code or links will be very helpfull
Thanks
what is am trying to do inpage class is
tabStrip= new TabStrip();
tabStrip.ID="Tab Strip";
tabStrip.SelectedIndex=0;
tabStrip.BackColor=Color.Red;
tabStrip.SelectedIndexChange +=new
EventHandler(tabStrip_SelectedIndexChange);
for (int i =0;i<array.Count;i++)
{
tab= new Tab();
tab.Text=array+"||".ToString();
tab.DefaultStyle.CssText="width:100px;text-align:center;color:Red";
tabStrip.Items.Add(tab);
}
this.Controls.Add(tabStrip);
Not able to wire the event selectedindexchanged event to tabstrip any
sample code or links will be very helpfull
Thanks
what is am trying to do inpage class is
tabStrip= new TabStrip();
tabStrip.ID="Tab Strip";
tabStrip.SelectedIndex=0;
tabStrip.BackColor=Color.Red;
tabStrip.SelectedIndexChange +=new
EventHandler(tabStrip_SelectedIndexChange);
for (int i =0;i<array.Count;i++)
{
tab= new Tab();
tab.Text=array+"||".ToString();
tab.DefaultStyle.CssText="width:100px;text-align:center;color:Red";
tabStrip.Items.Add(tab);
}
this.Controls.Add(tabStrip);