Jul 19, 2008, 8:36 PM
[CLOSED] Dynamically create Ext: Tab at runtime.
Hi Coolite Team,
I just started out exploring the toolkit and I was wondering if there's a way to dynamically creating a new tab when an ASP LinkButton control is clicked(server-side).
I was playing with the ViewPort sample found here and I wanted to add an ASP LinkButton inside the Navigation panel and when it's clicked, I would create a new tab inside the <Center> of ViewPort by invoking this event:
I just started out exploring the toolkit and I was wondering if there's a way to dynamically creating a new tab when an ASP LinkButton control is clicked(server-side).
I was playing with the ViewPort sample found here and I wanted to add an ASP LinkButton inside the Navigation panel and when it's clicked, I would create a new tab inside the <Center> of ViewPort by invoking this event:
protected void LinkButton1_Click(object sender, EventArgs e)
{
Tab fees = new Tab();
fees.Closable = true;
fees.Title = "Fees";
fees.AutoLoad = "Fees.aspx";
center.Items.Add(fees);
}