hello.
i have to one webpage. it contains
curreny.dropdown
button and web chart.
i want these thing in a tab. when user select a currency and click on buton it show the chart. but i want to add another button that when i click on that button it automatically add another tab and show the same three thing and select the currency and click on ok so it start showing the chart but when i go to my first tab the chart i was being shown in that tab must be there. how is it possible. please tell me
Loading

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jul 28, 2011, 9:45 PM EDT
Using Ajax tool kit,
protected void Button1_Click(object sender, EventArgs e)
{
AjaxControlToolkit.TabPanel tab = new AjaxControlToolkit.TabPanel(); // creating new tab panel.
Random rand = new Random();
string randnum = rand.Next(100).ToString();
tab.HeaderText = "Tab number" + randnum;
tab.ID = "tab" + randnum;
TextBox testbox = new TextBox();
testbox.Text="Hello, world!";
tab.Controls.Add(testbox);
TabContainer1.Tabs.Add(tab);
}
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jul 28, 2011, 9:46 PM EDT
Create Dynamic Tabs using AJAX tab container & add controls & read them dynamically?
Working with Tab Control : Part 1
Container Controls 3 : TabControl
ASP.NET 3.5: Enhanced tabbed pages
saifullah khanRank #4,887 · 320 reputationPosted Jul 29, 2011, 5:39 AM EDT