Reg- Dynamic tab strip and Multipage

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);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top