Hello.
I am using an UltraWebTab and I need to differentiate Tabs. I would like to know if Tab objects can have different appearences. For example some tabs must be in gray background and others in white background.
Thanks
Hi ocornuau,
Each tab in the UltraWebTab has a Styles collection which can be set individually. For example, to set the BackColor of your first tab at runtime you could use the following code:
UltraWebTab1.Tabs[0].Style.BackColor = YourDesiredColor;
Please note that the styles can also be set at design time. A detailed guide for achieving that is available at:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebTab_Set_Styles_at_Design_Time.html
Please tell me if this helps.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support
Hi,
Thank you for your answer but my question was not verry clear. In fact I wanted to know if it is possible to have different Tab Headers in a UltraWebTab. (customized header of each tab)
Thank you for the clarification. It should be possible to customize the headers of the tabs client-side. You can handle the InitializeTabs client-side event and get the header element to modify its style. For instance:
igtab_getTabById("UltraWebTab1").Tabs[0].element.style.backgroundColor="Green";
Please tell me if this is helpful.
I am following up to check whether your issues have been resolved. Please let me know if you have any questions.