Wednesday, March 28, 2012
Tab Back Color
Tab Control - Font Size How to change
Hello
I'm using the tab control from Ajax Extension, I can change the font color but no matter what I do I cannot change the font size.
I use skin file, and have skinID for the tab container (as wel as panel, I tried both), then attach the skinID to the tabcontainer control, the font color will change but font size doesn't seem to change at all. as well, in order to use skinID prperty, you have to type dircectly in source code, if you just type in the property box it will come up with erros, and Studio will add a bunch of numbers in your source
Please anyone, any help is great help!
Thanks
Tam
Check out the live demo page for the AjaxControlToolkit. On the Tabs demo, there is some info on how to customize the styles for the control (under theming I think).
Saturday, March 24, 2012
Tab Properties
Hello,
How can I change the text type and color the AJAX tabs?
And how can I change the tab container outline color?
Can I do this using CSS or in some other way?
Thanks,
Miguel
Take a look at theTabs sample page theming section which discusses how to customize the Tabs.
Wednesday, March 21, 2012
tabcontainer by code
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