i have a ajax tabcontainer
i add tabpanel by code but ,
for example if i have 5 tabs and one is updated content i wanna blink or change the color of tabheader that has been update
Note: that 1 or more tabs can be updated so x tabs must change the color of header or blink
Regards
zulurl
protected void Page_Init(object sender, EventArgs e)
{
AjaxControlToolkit.TabPanel tab = new AjaxControlToolkit.TabPanel();
tab.HeaderText = "test_new_tab";
TabContainer1.Tabs.Add(tab);
tab.Controls.Add(LoadControl("WebUserControl.ascx"));
AjaxControlToolkit.TabPanel tab2 = new AjaxControlToolkit.TabPanel();
tab2.HeaderText = "test_new_tab2" + System.DateTime.Now;
TabContainer1.Tabs.Add(tab2);
tab.OnClientClick = "js";
tab.BackColor = System.Drawing.Color.Red;
{
}
}
with another way how do i refer document.getelementbyid(->the tab added...??
TabID.ClientID
No comments:
Post a Comment